]> 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 00d2abec6b82f1be813ac272dfc03eb3cd7aed22..702633ee43108df23a98c68cf04c3082d0b0eea4 100644 (file)
@@ -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
 };