Fix memory access violations triggered by running sysdump on fuzzed binaries.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
6f25f223
L
12015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR binutils/17512
4 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
5 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
6
85880250
NC
72015-01-06 Nick Clifton <nickc@redhat.com>
8
9 PR binutils/17512
e7287c7f
NC
10 * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
11 string table.
12
ec93045b
NC
13 * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
14 (bfd_perform_relocation): Include the size of the reloc in the
15 test for an out of range relocation.
16 (bfd_generic_get_relocated_section_contents): Remove reloc range
17 test.
18
85880250
NC
19 * coff-i860.c (CALC_ADDEND): Always set an addend value.
20 * tekhex.c (getvalue): Add an end pointer parameter. Use it to
21 avoid reading off the end of the buffer.
22 (getsym): Likewise.
23 (first_phase): Likewise.
24 (pass_over): Pass an end pointer to the invoked function.
25
533d0af0
L
262015-01-05 H.J. Lu <hongjiu.lu@intel.com>
27
28 PR binutils/17512
29 * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
30 input.
31 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
32
896ca098
NC
332015-01-05 Nick Clifton <nickc@redhat.com>
34
35 PR binutils/17512
36 * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
37 is at least big enough for the header to be read.
38 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
39 * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
40 (bfd_mach_o_read_command): Prevetn duplicate error messages about
41 unrecognized commands.
42 * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
43 when indexing into the string table.
44
b90efa5b 452015-01-01 Alan Modra <amodra@gmail.com>
ee3b52e9 46
b90efa5b 47 Update year range in copyright notice of all files.
ee3b52e9 48
b90efa5b 49For older changes see ChangeLog-2014
56882138 50\f
b90efa5b 51Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
52
53Copying and distribution of this file, with or without modification,
54are permitted in any medium without royalty provided the copyright
55notice and this notice are preserved.
56
56882138
AM
57Local Variables:
58mode: change-log
59left-margin: 8
60fill-column: 74
61version-control: never
62End:
This page took 0.786665 seconds and 4 git commands to generate.