aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/strchrnul.valgrind
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-03-08 19:49:06 +1030
committerAlan Modra <amodra@gmail.com>2025-03-08 21:36:41 +1030
commit684f3e906cc75af90192f11a57364c6462774c3a (patch)
treeda88e227107aaa7c8c126e322298c8402cf95db2 /gnulib/import/strchrnul.valgrind
parent1563d43f32090495d50f0c262d6e1bcc17807064 (diff)
downloadgdb-master.zip
gdb-master.tar.gz
gdb-master.tar.bz2
bfd_elf_parse_attr_section_v1 buffer overflowHEADmaster
This function has a misleading parameter "contents", which usually means an entire section contents is passed. However in this case the actual sections contents plus one is passed, leading to miscalculating the end of the buffer. * elf-attrs.c (bfd_elf_parse_attr_section_v1): Delete hdr and contents param. Add p and p_end as params. (_bfd_elf_parse_attributes): Adjust to suit.
Diffstat (limited to 'gnulib/import/strchrnul.valgrind')
0 files changed, 0 insertions, 0 deletions