Bug 5942

Summary: nc -e redirects stderr to network
Product: Busybox Reporter: Mihail Zenkov <mihail.zenkov>
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs, mihail.zenkov
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: Fix redirections stderr in nc

Description Mihail Zenkov 2013-02-15 16:11:22 UTC
Created attachment 4748 [details]
Fix redirections stderr in nc

This bug same as in netcat-1.10:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365626

Effect only on 'little' version of nc. In nc 'bloaty' it already fixed.
Comment 1 Denys Vlasenko 2013-02-28 10:10:26 UTC
Fixed in git:

commit a14f319805c288db25cc9feac3048d89f3d7b41a
Author: Denys Vlasenko <vda.linux@googlemail.com>
Date:   Thu Feb 28 11:09:14 2013 +0100

    nc: don't redirect stderr to network in -e PROG mode

    This in incompatible with nc-1.10, but makes a lot of sense.