[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/28047] readelf crashed due to Assertion failed in dwarf.c:
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/28047] readelf crashed due to Assertion failed in dwarf.c:skip_attr_bytes |
Date: |
Mon, 05 Jul 2021 12:23:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28047
--- 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=40e1d303cedca7d67f6219686f06b9750659beab
commit 40e1d303cedca7d67f6219686f06b9750659beab
Author: Alan Modra <amodra@gmail.com>
Date: Sat Jul 3 09:38:40 2021 +0930
PR28047, readelf crash due to assertion failure
DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_ref1, and
DW_FORM_ref_udata are all supposed to be within the containing unit.
PR 28047
* dwarf.c (get_type_abbrev_from_form): Add cu_end parameter.
Check DW_FORM_ref1 etc. arg against cu_end rather than end of
section. Adjust all callers.
--
You are receiving this mail because:
You are on the CC list for the bug.