https://sourceware.org/bugzilla/show_bug.cgi?id=33914

--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alan Modra <[email protected]>:

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

commit 8c4a97c801634ee89c8b9aa83bdd697c9757d3aa
Author: Alan Modra <[email protected]>
Date:   Mon Feb 23 11:18:17 2026 +1030

    PR 33914 abort parsing fuzzed .debug_line

    The abort is due to an unexpected DW_FORM_addrx3 entry in the
    testcase, which requires pointer_size to be known.

            * dwarf.c (address_size_ok): New function.
            (read_debug_line_header): Use address_size_ok.
            (display_formatted_table): Pass li_address_size as
            pointer_size to read_and_display_attr_value.
            (display_debug_lines_decoded): Likewise.
            (display_debug_macro, display_debug_names): Similarly pass
            offset_size.
            (display_loclists_unit_header): Use address_size_ok.
            (display_debug_loc, display_debug_addr): Likewise.
            (display_debug_aranges): Likewise.  Remove power of two check
            on address_size.  Calculate and pad to tuple_size.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to