Fixes for memory access violations triggered by running addr2line on fuzzed binaries.
authorNick Clifton <nickc@redhat.com>
Tue, 27 Jan 2015 15:49:12 +0000 (15:49 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 27 Jan 2015 15:49:12 +0000 (15:49 +0000)
commit877a8638ba563c667eb5358240334c473d0573a1
tree0482b9e22730c1b0a323a3af2d34c4e1a7a2db49
parent37e3922eed415bbedd2dd6e46308fe9e03417770
Fixes for memory access violations triggered by running addr2line on fuzzed binaries.

PR binutils/17512
* addr2line.c (slurp_symtab): If the symcount is zero, free the
symbol table pointer.

* dwarf2.c (concat_filename): Check for an empty directory table.
(scan_unit_for_symbols): Check for reading off the end of the
unit.
(parse_comp_unit): Check for a DW_AT_comp_dir attribute with a
non-string form.
* elf64-ppc.c (opd_entry_value): Fail if there are no relocs
available.
bfd/ChangeLog
bfd/dwarf2.c
bfd/elf64-ppc.c
binutils/ChangeLog
binutils/addr2line.c
This page took 0.025344 seconds and 4 git commands to generate.