diff options
author | Nick Clifton <nickc@redhat.com> | 2015-06-30 17:12:47 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-06-30 17:12:47 +0100 |
commit | 5ee4a1ca16364c79f8717752ee9a9bd562580907 (patch) | |
tree | 31bfba06decc04d489288c9efd29d6ec5715abd8 /bfd/ChangeLog | |
parent | 9916071f8df180400e39d1783d4a878cf57c61fe (diff) | |
download | gdb-5ee4a1ca16364c79f8717752ee9a9bd562580907.zip gdb-5ee4a1ca16364c79f8717752ee9a9bd562580907.tar.gz gdb-5ee4a1ca16364c79f8717752ee9a9bd562580907.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c4ff658..2dd71f2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,20 @@ +2015-06-30 Nick Clifton <nickc@redhat.com> + + 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. + 2015-06-28 H.J. Lu <hongjiu.lu@intel.com> * bfd-in.h (compressed_debug_section_type): Remove |