I've reported the bug for Mageia linux as https://bugs.mageia.org/show_bug.cgi?id=24556 I'm the qa team leader for Mageia, with a background in mainframe software development. While I can read the code to figure out what's happening and sometimes create patches to fix a problem, applying a patch to is usually best left to others. I'll update this bug report with the results when testing has been completed.
Attaching untested patch
With kernel version 2.6.33 and later, instead of reading /proc/$pid/cmdline, the program name can be obtained from /proc/$pid/comm, so the simplest change would be to replace line 247 define PATH_CMDLINE "cmdline" with define PATH_CMDLINE "comm" I haven't tested this fix though.
I think the problem is on line 410 of netstat.c which has ... if ((cmdlp = strrchr(cmdlbuf, '/'))) I'm seeing this bug with google chrome, which is showing ... # netstat -pvlA inet,inet6|grep mdns udp 0 0 224.0.0.251:mdns 0.0.0.0:* 15762/122-high-temp # cat /proc/15762/cmdline /opt/google/chrome/chrome https://www.cbc.ca/news/canada/british-columbia/122-high-temperature-records-broken-in-b-c-this-week-1.5065585?cmp=rs Line 410 searches for the last slash, assuming it will be followed by the program...