https://sourceware.org/bugzilla/show_bug.cgi?id=34049
--- Comment #3 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=7a089e0302382f4d4e077941156e1eaa68d01393 commit 7a089e0302382f4d4e077941156e1eaa68d01393 Author: Alan Modra <[email protected]> Date: Mon Apr 6 22:58:22 2026 +0930 PR 34049 buffer overflow in xcoff_link_add_symbols The fact that coffcode.h:coff_set_alignment_hook for rs6000 removes sections can result in target_index > section_count. Thus any array indexed by target_index must not be sized by section_count. PR ld/34049 * xcofflink.c (xcoff_link_add_symbols): Size reloc_info array using max target_index. -- You are receiving this mail because: You are on the CC list for the bug.
