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

--- 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=9e99dbc1f19ffaf18d0250788951706066ebe7f2

commit 9e99dbc1f19ffaf18d0250788951706066ebe7f2
Author: Alan Modra <[email protected]>
Date:   Fri Mar 13 17:28:28 2026 +1030

    PR33919 Out-of-bounds read in XCOFF relocation processing

            PR 33919
            * coff-rs6000.c (xcoff_calculate_relocation): Don't use explicit
            array size.
            (xcoff_complain_overflow): Likewise.
            (xcoff_rtype2howto): Return a NULL howto rather than aborting.
            (_bfd_xcoff_reloc_name_lookup): Use ARRAY_SIZE.
            (xcoff_ppc_relocate_section): Sanity check reloc r_type before
            accessing xcoff_howto_table.  Print r_type using %#x.  Remove
            now redundant later reloc r_type sanity check.
            * coff64-rs6000.c: Similarly.
            * libxcoff.h (XCOFF_MAX_CALCULATE_RELOCATION): Don't define.
            (XCOFF_MAX_COMPLAIN_OVERFLOW): Don't define.

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

Reply via email to