commit | 2c6e1a4cd3681a49787f978fe924b74aed4cd4cc | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Sun Feb 09 20:15:02 2025 +1030 |
committer | Alan Modra <amodra@gmail.com> | Sun Feb 09 20:42:58 2025 +1030 |
tree | 279d42781ebdcd07a7f74ffc5abedb1e8f1c0d08 | |
parent | 38ee3a7664f00778fcc895a7f279c289a12cdbfd [diff] |
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.