mirror of
https://github.com/nmap/nmap.git
synced 2026-02-08 06:26:33 +00:00
3517f3965edce49440cc12d7b0d28c50e3df8572
Previously the code checked for a zero (or negative) return value, but I want to assign some tests a value of 0 during OS scan refinement. Now it checks errno, makes sure the entire value was consumed, and errors on negative numbers. In addition to allowing values of 0, this change catches bogus values where garbage follows the number.
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.5%
Lua
28.1%
C++
16.8%
Shell
5.8%
Python
4.2%
Other
7.3%