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

Force numeric values to string to avoid assertion in tab.lua. Related #266

This commit is contained in:
dmiller
2016-03-13 20:29:10 +00:00
parent 616cf9730e
commit 2db52ae951

View File

@@ -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