diff options
author | Alan Modra <amodra@gmail.com> | 2022-05-24 10:47:35 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-05-24 12:05:39 +0930 |
commit | be38442ddacf1fd25c8868d0491ea9e98b0e9ca7 (patch) | |
tree | dc3cbbe07971ea3269eedaae5aef5ea1150d3300 /libdecnumber | |
parent | 5fbb38fcc5b2157729407f182287b93531066890 (diff) | |
download | binutils-be38442ddacf1fd25c8868d0491ea9e98b0e9ca7.zip binutils-be38442ddacf1fd25c8868d0491ea9e98b0e9ca7.tar.gz binutils-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 'libdecnumber')
0 files changed, 0 insertions, 0 deletions