aboutsummaryrefslogtreecommitdiff
path: root/libiberty/rindex.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-02-20 14:40:39 +0000
committerNick Clifton <nickc@redhat.com>2017-02-20 14:40:39 +0000
commit43a444f9c5bfd44b4304eafd78338e21d54bea14 (patch)
tree72e109a42e87b744a7c2e85ff161ea0a2b85c35b /libiberty/rindex.c
parentc48cfeddf730d181648182097dbb179dc82c5b58 (diff)
downloadgdb-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/rindex.c')
0 files changed, 0 insertions, 0 deletions