]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR 33021, buffer overflow in write_dwarf_eh_frame_hdr
authorAlan Modra <amodra@gmail.com>
Wed, 28 May 2025 05:42:39 +0000 (15:12 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 28 May 2025 05:56:01 +0000 (15:26 +0930)
commit5d4465be2b2acacb5e56064c2ffcd329a3f31b58
tree5ef1eb90bf9c8a6d3cbf3407f67c13dcd4d97d6f
parent04395ea00492a63a586459acd834af8ab1a02546
PR 33021, buffer overflow in write_dwarf_eh_frame_hdr

* elf-eh-frame.c (write_dwarf_eh_frame_hdr): Use size of
contents, not section size, in bfd_set_section_contents call.
bfd/elf-eh-frame.c