mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 21:59:02 +00:00
acbf533dcb761e88da5dd8f288d1c0392ca0a7e1
String ipaddr was allocated without allowing space for the null terminator, resulting in a 1-byte overflow. Caught with clang -fsanitize=address Also, fmt was being initialized with sizeof(ipaddr), which happened to be correct, but should not necessarily be so. We don't care about the size of the structure, but rather the length of an address in string notation.
Here is some documentation for Nmap, but these files are much less comprehensive than what you'll find at the actual Nmap documentation site ( http://nmap.org ).
Description
Languages
C
37.8%
Lua
28.1%
C++
16.7%
Shell
5.8%
Python
4.2%
Other
7.2%