diff options
author | Nick Clifton <nickc@redhat.com> | 2017-04-13 16:06:30 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-04-13 16:06:30 +0100 |
commit | 7296a62a2a237f6b1ad8db8c38b090e9f592c8cf (patch) | |
tree | c5ea4ca4f74236e794f4b99f261de2fc46f935b2 /gdb/thread.c | |
parent | 1d15e434f43bc41a07bc7b0648fcb7e6ccbe8dcc (diff) | |
download | gdb-7296a62a2a237f6b1ad8db8c38b090e9f592c8cf.zip gdb-7296a62a2a237f6b1ad8db8c38b090e9f592c8cf.tar.gz gdb-7296a62a2a237f6b1ad8db8c38b090e9f592c8cf.tar.bz2 |
readelf: fix out of range subtraction, seg fault from a NULL pointer and memory exhaustion, all from parsing corrupt binaries.
PR binutils/21379
* readelf.c (process_dynamic_section): Detect over large section
offsets in the DT_SYMTAB entry.
PR binutils/21345
* readelf.c (process_mips_specific): Catch an unfeasible memory
allocation before it happens and print a suitable error message.
Diffstat (limited to 'gdb/thread.c')
0 files changed, 0 insertions, 0 deletions