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

--- 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=4e397ea9446b3dca3cbc85b6c0e0158042548f19

commit 4e397ea9446b3dca3cbc85b6c0e0158042548f19
Author: Alan Modra <[email protected]>
Date:   Mon Nov 24 18:46:35 2025 +1030

    PR 33473 SEGV in _bfd_elf_gc_mark_debug_special_section_group

    The code that faulted made the assumption that a group section always
    had at least one valid member.  Fix that assumption.  Also fail if all
    entries in a SHT_GROUP section are invalid.  (An empty group will not
    result in a call to process_sht_group_entries.)

            PR 33473
            * elflink.x (_bfd_elf_gc_mark_debug_special_section_group): Don't
            segfault on empty group.
            * elf.c (process_sht_group_entries): Return false if all
            entries are invalid.

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

Reply via email to