diff options
author | Nick Clifton <nickc@redhat.com> | 2019-03-19 13:39:30 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-03-19 13:39:30 +0000 |
commit | 634557801d909982b47b1723f4216ebe8bc784aa (patch) | |
tree | a336984f54bec19fd0bb6d7e9b0257bbae195acf /ld | |
parent | 392a59728b7286d5fd1a1c377de3c40334bbb36f (diff) | |
download | gdb-634557801d909982b47b1723f4216ebe8bc784aa.zip gdb-634557801d909982b47b1723f4216ebe8bc784aa.tar.gz gdb-634557801d909982b47b1723f4216ebe8bc784aa.tar.bz2 |
Prevent an illegal memory access by objdump when parsing a corrupt file on a 32-bit host.
PR 24360
* objdump.c (load_specific_debug_section): Check that the amount
of memory to be allocated matches the size of the section.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions