Bug 5942 - nc -e redirects stderr to network
Summary: nc -e redirects stderr to network
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 16:11 UTC by Mihail Zenkov
Modified: 2013-02-28 10:10 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments
Fix redirections stderr in nc (316 bytes, application/octet-stream)
2013-02-15 16:11 UTC, Mihail Zenkov
Details

Note You need to log in before you can comment on or make changes to this bug.
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.