https://sourceware.org/bugzilla/show_bug.cgi?id=32663
--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2c6e1a4cd3681a49787f978fe924b74aed4cd4cc commit 2c6e1a4cd3681a49787f978fe924b74aed4cd4cc Author: Alan Modra <amo...@gmail.com> Date: Sun Feb 9 20:15:02 2025 +1030 PR32663, ld buffer overflow reading .debug_info When reading debug info to print an error message, we'll be reading the debug info off disk, not using edited debug info. sec->rawsize if non-zero is the correct size. PR 32663 * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Use bfd_get_section_limit_octets to properly size debug sections. -- You are receiving this mail because: You are on the CC list for the bug.