summaryrefslogtreecommitdiff
path: root/gdb/command.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-04-26 18:30:50 +0930
committerAlan Modra <amodra@gmail.com>2020-04-26 23:50:18 +0930
commit90837ea7211e7911ca6c729c2dd697b35a1054ad (patch)
treedbdaa80baf63732886a2bb797f741942fad09912 /gdb/command.h
parentbc3609fd3891c1cc0007eccd74bca98aabc03996 (diff)
downloadbinutils-gdb-90837ea7211e7911ca6c729c2dd697b35a1054ad.tar.gz
readelf: NULL dereference
This fixes another missing error check. * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was read before dereferencing, and gracefully return. Remove gnu_hash_error variable. Free gnu hash arrays if number of syms found is zero.
Diffstat (limited to 'gdb/command.h')
0 files changed, 0 insertions, 0 deletions