Hi misc@,
while scrolling through my /var/log/messages I found this entry:
netstat: vfprintf %s NULL in " %2d %-5.16s"
I tracked down the issue to line 278 of /usr/src/usr.bin/netstat/show.c:
> printf(" %2d %-5.16s", rtm->rtm_priority,
> if_indextoname(rtm->rtm_index, ifbuf))
It appears to me that if_indextoname(3) returns NULL for some reason,
and that this isn't being checked.
Is this intentional? Or did I find a minor bug?
Best regards,
Benjamin Stürz
No comments:
Post a Comment