mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 19:59:02 +00:00
It seems that this function was usually called after having called currentProbe outside the call to currentprobe_timemsleft, with the call to currentProbe inside the function having the same result. This is a bit tenuous, so make the probe we're talking about explicit. Resolves these Parfait reports (http://seclists.org/nmap-dev/2012/q4/412). Error: Null pointer dereference (CWE 476) Read from null pointer 'ServiceNFO::currentProbe(this)' at line 1813 of components/nmap/build/amd64/service_scan.cc in function 'ServiceNFO::currentprobe_timemsleft(timeval const*)'. Function 'ServiceNFO::currentProbe()' may return constant 'NULL' at line 1707, called at line 1813. Null pointer introduced at line 1707 in function 'ServiceNFO::currentProbe()'.
100 KiB
100 KiB