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

--- 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=23acf2f003f81b2f8d9d1997ea45d822d33d386c

commit 23acf2f003f81b2f8d9d1997ea45d822d33d386c
Author: Alan Modra <[email protected]>
Date:   Thu Apr 9 09:06:27 2026 +0930

    PR 34053 buffer overflow in xcoff_link_add_symbols

    This patch adds two sanity checks with error reporting in
    xcoff_link_add_symbols before reading symbol aux entries, add extends
    assertions in later functions.  A whole lot of unnecessary casts are
    also tidied.

            PR 34053
            * xcofflink.c: Remove unnecessary casts throughout.
            (xcoff_link_add_symbols): Sanity check aux entries are within
            symbol buffer.
            (bfd_xcoff_build_dynamic_sections): Assert the above is true.
            (xcoff_link_input_bfd): Likewise.

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

Reply via email to