[Bug 2245] New: Netcat does not work due to incorrect assumptions about signed chars.
bugzilla at busybox.net
bugzilla at busybox.net
Mon Jul 19 14:38:43 UTC 2010
https://bugs.busybox.net/show_bug.cgi?id=2245
Summary: Netcat does not work due to incorrect assumptions
about signed chars.
Product: Busybox
Version: 1.16.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: nick at leverton.org
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Created attachment 2251
--> https://bugs.busybox.net/attachment.cgi?id=2251
Patch from sourceforge to fix "Total ports=-1" error
GNU netcat doesn't work on avr32, ARM, Macs or other differently-endian
machines, but just silently exits without connecting. The routine for checking
which ports are in use is buggy and has problems with unwanted sign-extension.
If you enable debug messaging, the error given is
(debug) Arguments parsing complete! Total ports=-1
See
http://sourceforge.net/tracker/?func=detail&aid=1068324&group_id=52204&atid=466046
and
http://sourceforge.net/tracker/?func=detail&aid=1205729&group_id=52204&atid=466046
The attached patch is a reformatted version of the fix on Sourceforge. I've
confirmed that it works on AVR32 at least.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list