mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Force numeric values to string to avoid assertion in tab.lua. Related #266
This commit is contained in:
parent
616cf9730e
commit
2db52ae951
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue