aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/Makefile.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-06-01 16:52:58 +0930
committerAlan Modra <amodra@gmail.com>2022-06-02 15:54:14 +0930
commitb3abcebcae6e648086147637bcba09c217c8bd9a (patch)
treedc8a02a56b850c477ca77d42310383918e9627fb /gdbserver/Makefile.in
parenta115b2793459e25d8fa5be3dc1c69dcab0a32e53 (diff)
downloadfsf-binutils-gdb-b3abcebcae6e648086147637bcba09c217c8bd9a.zip
fsf-binutils-gdb-b3abcebcae6e648086147637bcba09c217c8bd9a.tar.gz
fsf-binutils-gdb-b3abcebcae6e648086147637bcba09c217c8bd9a.tar.bz2
asan: NULL deref in scan_unit_for_symbols
Since commit b43771b045 it has been possible to look up addresses that match a unit with errors, since ranges are added to a trie while the unit is being parsed. On error, parse_comp_unit leaves first_child_die_ptr NULL which results in a NULL info_ptr being passed to scan_unit_for_symbols. Fix this by setting unit->error. Also wrap some overlong lines, and fix some formatting errors. * dwarf2.c: Formatting. (parse_comp_unit): Set unit->error on err_exit path.
Diffstat (limited to 'gdbserver/Makefile.in')
0 files changed, 0 insertions, 0 deletions