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 <amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=40e1d303cedca7d67f6219686f06b9750659beab

commit 40e1d303cedca7d67f6219686f06b9750659beab
Author: Alan Modra <amo...@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.

Reply via email to