Hey, I have the issue as well, and I believe the initial description is
correct.

In two functions in netstat.c (extract_type_*_socket_inode), we parse
inode numbers from /proc/PID/fd/* links, using strtol. The bugl is that
we then compare the parsed value to INT_MAX, instead of LONG_MAX.

Please consider the patch :p !


** Attachment added: "validate inode numbers against use LONG_MAX instead of 
INT_MAX"
   
http://launchpadlibrarian.net/21563206/net-tools-1.60-netstat-prgname-fix.patch

-- 
netstat does not display all PIDs
https://bugs.launchpad.net/bugs/199702
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to