1
0
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:
nnposter
2024-07-04 04:04:49 +00:00
parent 29741a6360
commit 3ab8fc27f8

View File

@@ -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