mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 05:01:29 +00:00
Correctly handle empty result sets. See #2784
This commit is contained in:
@@ -3102,7 +3102,7 @@ Helper =
|
|||||||
while( pos < data:len() ) do
|
while( pos < data:len() ) do
|
||||||
local rowtag = string.unpack("B", data, pos)
|
local rowtag = string.unpack("B", data, pos)
|
||||||
|
|
||||||
if ( rowtag == TokenType.Row ) then
|
if rowtag == TokenType.Row or rowtag == TokenType.Done then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user