1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 20:09:02 +00:00
Files
nmap/libdnet-stripped/src
david 02cb2931aa Fix rt_msghdr padding on NetBSD.
NetBSD uses a fixed 64-bit padding, unlike OS X (32-bit), and unlike
other platforms (sizeof(unsigned long)). There is an RT_ROUNDUP macro
that does the right alignment; use that when available.

http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/lib/libc/net/getifaddrs.c
http://fxr.watson.org/fxr/source/net/route.h?v=NETBSD#L270

Rounding to 4 bytes was breaking with IPv6 addresses, which are 28
bytes. The pointer was being advanced by 28 instead of 32. Compare to
r29739, somewhat similar.

Reported by Fredrik Pettai.
http://seclists.org/nmap-dev/2013/q1/384
2013-06-01 16:28:44 +00:00
..
2013-01-30 08:47:24 +00:00
2013-02-14 23:32:52 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2013-06-01 16:28:44 +00:00
2013-02-01 05:01:56 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00