summaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic/heuristics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_magic/heuristics.lua')
-rw-r--r--lualib/lua_magic/heuristics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_magic/heuristics.lua b/lualib/lua_magic/heuristics.lua
index 8aeafae90..c60824bd8 100644
--- a/lualib/lua_magic/heuristics.lua
+++ b/lualib/lua_magic/heuristics.lua
@@ -267,7 +267,7 @@ local function detect_archive_flaw(part, arch, log_obj)
if arch_type == 'zip' then
-- Find specific files/folders in zip file
- local files = arch:get_files() or {}
+ local files = arch:get_files(100) or {}
for _,file in ipairs(files) do
if file == '[Content_Types].xml' then
add_msoffice_confidence(10)