diff options
author | Nick Clifton <nickc@redhat.com> | 2017-02-20 14:40:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-02-20 14:40:39 +0000 |
commit | 43a444f9c5bfd44b4304eafd78338e21d54bea14 (patch) | |
tree | 72e109a42e87b744a7c2e85ff161ea0a2b85c35b /libiberty/strsignal.c | |
parent | c48cfeddf730d181648182097dbb179dc82c5b58 (diff) | |
download | gdb-43a444f9c5bfd44b4304eafd78338e21d54bea14.zip gdb-43a444f9c5bfd44b4304eafd78338e21d54bea14.tar.gz gdb-43a444f9c5bfd44b4304eafd78338e21d54bea14.tar.bz2 |
Fix another memory access error in readelf when parsing a corrupt binary.
PR binutils/21156
* dwarf.c (cu_tu_indexes_read): Move into...
(load_cu_tu_indexes): ... here. Change the variable into
tri-state. Change the function into boolean, returning
false if the indicies could not be loaded.
(find_cu_tu_set): Return NULL if the indicies could not be
loaded.
Diffstat (limited to 'libiberty/strsignal.c')
0 files changed, 0 insertions, 0 deletions