[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29171] Invalid read during processing of program input cau
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/29171] Invalid read during processing of program input causing SIGSEGV |
Date: |
Tue, 24 May 2022 04:16:57 +0000 |
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 <amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=be38442ddacf1fd25c8868d0491ea9e98b0e9ca7
commit be38442ddacf1fd25c8868d0491ea9e98b0e9ca7
Author: Alan Modra <amodra@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.