PR22769, crash when running 32-bit objdump on corrupted file
authorAlan Modra <amodra@gmail.com>
Thu, 1 Feb 2018 07:31:00 +0000 (18:01 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 1 Feb 2018 11:08:02 +0000 (21:38 +1030)
commitf2023ce7e8d70b0155cc6206c901e185260918f0
tree72cb34345b8326f96a89881deb29af3d11e00094
parent35f48e217ab6f909510bf9ca07325ec16122ae88
PR22769, crash when running 32-bit objdump on corrupted file

PR 22769
* objdump.c (load_specific_debug_section): Check for overflow
when adding one to section size for a string section terminator.
binutils/ChangeLog
binutils/objdump.c