This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] This fixes parsing a file containing ELF attributes with very large tag values.
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Tue, 30 Jun 2015 12:32:02 -0400
- Subject: [binutils-gdb] This fixes parsing a file containing ELF attributes with very large tag values.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 5ee4a1ca16364c79f8717752ee9a9bd562580907 ***
Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 5ee4a1ca16364c79f8717752ee9a9bd562580907
This fixes parsing a file containing ELF attributes with very large tag values.
PR binutils/18570
* elf-attrs.c (obj_attr_size): Use an unsigned int type for the tag.
(write_obj_attribute): Likewise.
(elf_new_obj_attr): Likewise.
(bfd_elf_get_obj_attr_int): Likewise.
(bfd_elf_add_obj_attr_int): Likewise.
(bfd_elf_add_obj_attr_string): Likewise.
(bfd_elf_add_obj_attr_int_string): Likewise.
(gnu_obj_attrs_arg_type): Likewise.
(_bfd_elf_obj_attrs_arg_type): Likewise.
(_bfd_elf_parse_attributes): Likewise.
(_bfd_elf_merge_unknown_attribute_list): Likewise.
* elf-bfd.h (struct obj_attribute_list): Likewise.
Update prototypes.