mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
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.
39 KiB
39 KiB