|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug binutils/18570] Crash in objdump (elf-attrs.c) |
Date: | Tue, 30 Jun 2015 16:14:02 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18570 --- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Clifton <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5ee4a1ca16364c79f8717752ee9a9bd562580907 commit 5ee4a1ca16364c79f8717752ee9a9bd562580907 Author: Nick Clifton <address@hidden> Date: Tue Jun 30 17:12:47 2015 +0100 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. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |