Increase limit on number of ELF program / section headers

This commit is contained in:
Thilo Schulz 2019-09-20 16:18:51 +02:00 committed by Thilo Schulz
parent 4f6a845fb4
commit 4f21d592f3
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ static const uint8_t elf32_id[] = {
ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, ELFCLASS32
};
#define MAX_PHDRS 32
#define MAX_SHDRS 128
#define MAX_PHDRS 128
#define MAX_SHDRS 512
struct elf32_info {
Elf32_Ehdr file_ehdr;