From: Christos Zoulas Date: Fri, 28 Aug 2015 08:32:51 +0000 (+0000) Subject: bump elf max phnum to 2048 since core dumps can have many entries if X-Git-Tag: FILE5_25~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=445fb3bc0890734195cd67495f570cc4911b751f;p=file bump elf max phnum to 2048 since core dumps can have many entries if the binaries that produce them depend on many shared libraries --- diff --git a/src/file.h b/src/file.h index 00d2abec..702633ee 100644 --- a/src/file.h +++ b/src/file.h @@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.168 2015/04/09 20:01:41 christos Exp $ + * @(#)$File: file.h,v 1.169 2015/07/11 14:41:37 christos Exp $ */ #ifndef __file_h__ @@ -418,7 +418,7 @@ struct magic_set { #define FILE_INDIR_MAX 15 #define FILE_NAME_MAX 30 #define FILE_ELF_SHNUM_MAX 32768 -#define FILE_ELF_PHNUM_MAX 128 +#define FILE_ELF_PHNUM_MAX 2048 #define FILE_ELF_NOTES_MAX 256 };