mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
The second argument to RTA_NEXT was missing a dereference, so it was changing the pointer rather than the integer pointed to. I got this assertion failure with an IPv6 link-local address: nmap: netutil.cc:3048: void add_rtattr_addr(nlmsghdr*, rtattr**, unsigned int*, unsigned char, const sockaddr_storage*): Assertion `((*len) >= (int)sizeof(struct rtattr) && (*rtattr)->rta_len >= sizeof(struct rtattr) && (*rtattr)->rta_len <= (*len))' failed.
150 KiB
150 KiB