Fix an attempt to allocate an unreasonably large amount of memory when parsing a...
authorNick Clifton <nickc@redhat.com>
Wed, 21 Dec 2022 11:51:23 +0000 (11:51 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Dec 2022 11:51:23 +0000 (11:51 +0000)
commit75393a2d54bcc40053e5262a3de9d70c5ebfbbfd
tree28993ec7922c46884dbd1602d1bef9aaa8279642
parenta7a32d588f29466221f5b4d421d0fc0a652dae48
Fix an attempt to allocate an unreasonably large amount of memory when parsing a corrupt ELF file.

PR  29924
* objdump.c (load_specific_debug_section): Check for excessively
large sections.
binutils/ChangeLog
binutils/objdump.c