diff options
author | Nick Clifton <nickc@redhat.com> | 2018-11-30 11:45:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-11-30 11:45:33 +0000 |
commit | 5f60af5d24d181371d67534fa273dd221df20c07 (patch) | |
tree | c5b15b6804f1c339e30a70826eeb2f073c51958b /gdb/regcache.c | |
parent | beab453223769279cc1cef68a1622ab8978641f7 (diff) | |
download | gdb-5f60af5d24d181371d67534fa273dd221df20c07.zip gdb-5f60af5d24d181371d67534fa273dd221df20c07.tar.gz gdb-5f60af5d24d181371d67534fa273dd221df20c07.tar.bz2 |
Fix a memory exhaustion bug when attempting to allocate room for an impossible number of program headers.
* elfcode.h (elf_object_p): Check for corrupt input files with
more program headers than can actually fit in the file.
Diffstat (limited to 'gdb/regcache.c')
0 files changed, 0 insertions, 0 deletions