aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-02-09 20:15:02 +1030
committerAlan Modra <amodra@gmail.com>2025-02-09 20:42:58 +1030
commit2c6e1a4cd3681a49787f978fe924b74aed4cd4cc (patch)
tree279d42781ebdcd07a7f74ffc5abedb1e8f1c0d08 /ld/testsuite/ld-sh
parent38ee3a7664f00778fcc895a7f279c289a12cdbfd (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
PR32663, ld buffer overflow reading .debug_infoHEADmaster
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.
Diffstat (limited to 'ld/testsuite/ld-sh')
0 files changed, 0 insertions, 0 deletions