mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 03:49:01 +00:00
Correct an error in the fix for #1211
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user