mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 09:59:04 +00:00
This restores the previous behavior of these functions, which was broken in r24127, which itself was fixing another bug. r24127 solved the problem of --data-length appending zeroes, not random data, to ICMP and IGMP packets. But in doing so, it added a check that the data argument is not NULL. OS detection uses a data argument of NULL, expecting these functions to fill in zeroes in this case. The result of this was that the IE probes were being sent with empty payloads instead of 120 and 150 bytes.
68 KiB
68 KiB