mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31: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
|
||||
local rowtag = string.unpack("B", data, pos)
|
||||
|
||||
if ( rowtag == TokenType.Row ) then
|
||||
if rowtag == TokenType.Row or rowtag == TokenType.Done then
|
||||
break
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user