1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fix some incorrect conversions from bin to string unpacking

This commit is contained in:
dmiller
2018-09-20 02:19:53 +00:00
parent 00ec940ead
commit 7819453af5
5 changed files with 6 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ local function processOptions(data)
return false, "Failed to parse options"
end
else
pos, option = string.unpack("B", data, pos)
option, pos = string.unpack("B", data, pos)
result[option] = result[option] or {}
table.insert(result[option], cmd)
end