mirror of
https://github.com/nmap/nmap.git
synced 2026-09-10 05:29:13 +00:00
Correctly handle empty result sets. See #2784
This commit is contained in:
parent
29741a6360
commit
3ab8fc27f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue