Fix a possible integer overflow problem when examining corrupt binaries using a 32...
authorNick Clifton <nickc@redhat.com>
Fri, 4 Jan 2019 13:44:34 +0000 (13:44 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 4 Jan 2019 13:44:34 +0000 (13:44 +0000)
commit11fa9f134fd658075c6f74499c780df045d9e9ca
tree1199f148c8980bd6e6471944c04ba2ad2c5ec3e7
parentcf0ad5bbf2d3fdb751b5f3f49e55d251d48c7416
Fix a possible integer overflow problem when examining corrupt binaries using a 32-bit binutil.

PR 24005
* objdump.c (load_specific_debug_section): Check for integer
overflow before attempting to allocate contents.
binutils/ChangeLog
binutils/objdump.c