Prevent attempts to allocate excessive amounts of memory when parsing corrupt ELF...
authorNick Clifton <nickc@redhat.com>
Fri, 28 Jun 2019 14:30:43 +0000 (15:30 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 28 Jun 2019 14:30:43 +0000 (15:30 +0100)
commit7e56c51c7932cfdb178e9457011d09d53e98937b
treef2396eec4ec8a9ce289c71fdc5ef2c745798dd59
parent781152ec18f56726c750cc0812a740396e4ec820
Prevent attempts to allocate excessive amounts of memory when parsing corrupt ELF files.

PR 24708
* elf.c (_bfd_elf_slurp_version_tables): Check for an excessively
large version reference section.
* compress.c (bfd_get_full_section_contents): Check for an
uncompressed section whose size is larger than the file size.
bfd/ChangeLog
bfd/compress.c
bfd/elf.c
binutils/ChangeLog
binutils/objdump.c
This page took 0.025081 seconds and 4 git commands to generate.