https://sourceware.org/bugzilla/show_bug.cgi?id=29171
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=be38442ddacf1fd25c8868d0491ea9e98b0e9ca7 commit be38442ddacf1fd25c8868d0491ea9e98b0e9ca7 Author: Alan Modra <amo...@gmail.com> Date: Tue May 24 10:47:35 2022 +0930 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. -- You are receiving this mail because: You are on the CC list for the bug.