]> granicus.if.org Git - file/commitdiff
bump elf max phnum to 2048 since core dumps can have many entries if
authorChristos Zoulas <christos@zoulas.com>
Fri, 28 Aug 2015 08:32:51 +0000 (08:32 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 28 Aug 2015 08:32:51 +0000 (08:32 +0000)
the binaries that produce them depend on many shared libraries

src/file.h

index 2ad2f97eb390e778437a5dd6257e94efb8869f7c..02118338486071c1850693236a95e6619b81f0f1 100644 (file)
@@ -27,7 +27,7 @@
  */
 /*
  * file.h - definitions for file(1) program
- * @(#)$File: file.h,v 1.169 2015/07/11 14:41:37 christos Exp $
+ * @(#)$File: file.h,v 1.170 2015/08/28 08:32:51 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
 };