commit | be38442ddacf1fd25c8868d0491ea9e98b0e9ca7 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Tue May 24 10:47:35 2022 +0930 |
committer | Alan Modra <amodra@gmail.com> | Tue May 24 12:05:39 2022 +0930 |
tree | dc3cbbe07971ea3269eedaae5aef5ea1150d3300 | |
parent | 5fbb38fcc5b2157729407f182287b93531066890 [diff] |
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.