diff options
author | Alan Modra <amodra@gmail.com> | 2025-03-08 19:49:06 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-03-08 21:36:41 +1030 |
commit | 684f3e906cc75af90192f11a57364c6462774c3a (patch) | |
tree | da88e227107aaa7c8c126e322298c8402cf95db2 /gnulib/import/strchrnul.valgrind | |
parent | 1563d43f32090495d50f0c262d6e1bcc17807064 (diff) | |
download | gdb-master.zip gdb-master.tar.gz gdb-master.tar.bz2 |
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