mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Force numeric values to string to avoid assertion in tab.lua. Related #266
This commit is contained in:
@@ -214,7 +214,7 @@ function add_file(output, file)
|
||||
local curvol = output.curvol
|
||||
local files = curvol["files"]
|
||||
for i, info in ipairs(file) do
|
||||
tab.add(files, i, info)
|
||||
tab.add(files, i, tostring(info))
|
||||
end
|
||||
local size = get_size(file[curvol.hasperms and 4 or 1])
|
||||
if size then
|
||||
|
||||
Reference in New Issue
Block a user