summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2023-03-14 19:48:22 +0000
committerChristos Zoulas <christos@zoulas.com>2023-03-14 19:48:22 +0000
commit89f1ba6fbafd710cf03013e015d2eb59d3c54be6 (patch)
treed318f12f04554e91cda73c9dad08be5c74c518ae
parent3660a2ccb77cdea0ce678d9e71fbb7aceca2adbe (diff)
downloadfile-git-89f1ba6fbafd710cf03013e015d2eb59d3c54be6.tar.gz
-rw-r--r--src/apprentice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apprentice.c b/src/apprentice.c
index db217875..06d52094 100644
--- a/src/apprentice.c
+++ b/src/apprentice.c
@@ -32,7 +32,7 @@
#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: apprentice.c,v 1.339 2022/12/26 17:31:14 christos Exp $")
+FILE_RCSID("@(#)$File: apprentice.c,v 1.340 2023/03/14 19:48:22 christos Exp $")
#endif /* lint */
#include "magic.h"
@@ -578,6 +578,7 @@ file_ms_alloc(int flags)
ms->indir_max = FILE_INDIR_MAX;
ms->name_max = FILE_NAME_MAX;
ms->elf_shnum_max = FILE_ELF_SHNUM_MAX;
+ ms->elf_shsize_max = FILE_ELF_SHSIZE_MAX;
ms->elf_phnum_max = FILE_ELF_PHNUM_MAX;
ms->elf_notes_max = FILE_ELF_NOTES_MAX;
ms->regex_max = FILE_REGEX_MAX;