mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 01:19:03 +00:00
Before, a variable was set to NULL if it was not AF_INET, and was later dereferenced in handling target groups containing IPv4 addresses. This never actually caused a problem because Nmap's -6 switch is global, so if an AF_INET6 address was passed to hostInExclude, none of the target groups could have contained IPv4 addresses and the NULL dereference would not have occurred. It might have broken easily in the future though. Now the IPv4 target groups make sure they are dealing with an AF_INET address.
24 KiB
24 KiB