[Goodies-dev] [Bug 13853] Shows no activity on OpenBSD 6.1

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Sep 21 17:46:05 CEST 2017


https://bugzilla.xfce.org/show_bug.cgi?id=13853

--- Comment #9 from Ed Hynan <edhynan at gmail.com> ---
(In reply to Landry Breuil from comment #8)
> Ok, so i have an nfe(4) here that seems affected with your testcase:
> 
> $/tmp/a.out axe0 nfe0                                                       
> 
> Found: 'axe0' -- doing get_stat_fixed()
> FOUND 'axe0' -- FIXED STATS OK
> Found: 'axe0' -- doing get_stat_orig()
> FOUND 'axe0' -- ORIG STATS OK
> Found: 'nfe0' -- doing get_stat_fixed()
> FOUND 'nfe0' -- FIXED STATS OK
> Found: 'nfe0' -- doing get_stat_orig()

Yes, and also this from /usr/include/net/if_dl.h:

struct sockaddr_dl {
[snip]
        u_char    sdl_nlen;     /* interface name length, no trailing 0 reqd.
*/
[snip]
};

#define LLADDR(s) ((caddr_t)((s)->sdl_data + (s)->sdl_nlen))

suggesting nul termination of the name can't be relied on.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list