Comment 3 for bug 199702

Revision history for this message
Stefan Praszalowicz (stfp) wrote :

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 !