Merge pull request #88 from thiloschulz/master

Increase limit on number of ELF program / section headers
This commit is contained in:
Daniel Beer 2019-09-21 10:07:57 +12:00 committed by GitHub
commit eb77903392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;