aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-05-24 10:47:35 +0930
committerAlan Modra <amodra@gmail.com>2022-05-24 12:05:39 +0930
commitbe38442ddacf1fd25c8868d0491ea9e98b0e9ca7 (patch)
treedc3cbbe07971ea3269eedaae5aef5ea1150d3300 /config
parent5fbb38fcc5b2157729407f182287b93531066890 (diff)
downloadgdb-be38442ddacf1fd25c8868d0491ea9e98b0e9ca7.zip
gdb-be38442ddacf1fd25c8868d0491ea9e98b0e9ca7.tar.gz
gdb-be38442ddacf1fd25c8868d0491ea9e98b0e9ca7.tar.bz2
PR29171, invalid read causing SIGSEGV
The fix here is to pass "section" down to read_and_display_attr_value. The test in read_and_display_attr_value is a little bit of hardening. PR 29171 * dwarf.c (display_debug_macro, display_debug_names): Pass section to read_and_display_attr_value2. (read_and_display_attr_value): Don't attempt to check for .dwo section name when section is NULL.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions