mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Correct an error in the fix for #1211
This commit is contained in:
parent
670e24ddb7
commit
f973b4b9f4
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ bdecode = function(buf)
|
|||
pos = pos+1
|
||||
|
||||
-- trailing whitespace
|
||||
elseif string.match(buf, "%s*$", pos) then
|
||||
elseif string.match(buf, "^%s*$", pos) then
|
||||
pos = len+1
|
||||
else
|
||||
return nil, "Unknown type found.", pos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue