]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
Fix memory access violations exposed by running strip on fuzzed binaries.
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
063bb025
NC
12015-01-08 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/17512
4 * coffcode.h (coff_slurp_symbol_table): Return false if we failed
5 to load the line table.
6 * elf.c (_bfd_elf_map_sections_to_segments): Enforce a minimum
7 maxpagesize of 1.
8 * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Fail if
9 the Data Directory Size is too large.
10
6f25f223
L
112015-01-06 H.J. Lu <hongjiu.lu@intel.com>
12
13 PR binutils/17512
14 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.
15 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
16
85880250
NC
172015-01-06 Nick Clifton <nickc@redhat.com>
18
19 PR binutils/17512
e7287c7f
NC
20 * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
21 string table.
22
ec93045b
NC
23 * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.
24 (bfd_perform_relocation): Include the size of the reloc in the
25 test for an out of range relocation.
26 (bfd_generic_get_relocated_section_contents): Remove reloc range
27 test.
28
85880250
NC
29 * coff-i860.c (CALC_ADDEND): Always set an addend value.
30 * tekhex.c (getvalue): Add an end pointer parameter. Use it to
31 avoid reading off the end of the buffer.
32 (getsym): Likewise.
33 (first_phase): Likewise.
34 (pass_over): Pass an end pointer to the invoked function.
35
533d0af0
L
362015-01-05 H.J. Lu <hongjiu.lu@intel.com>
37
38 PR binutils/17512
39 * elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
40 input.
41 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
42
896ca098
NC
432015-01-05 Nick Clifton <nickc@redhat.com>
44
45 PR binutils/17512
46 * archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
47 is at least big enough for the header to be read.
48 * elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
49 * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
50 (bfd_mach_o_read_command): Prevetn duplicate error messages about
51 unrecognized commands.
52 * syms.c (_bfd_stab_section_find_nearest_line): Add range checks
53 when indexing into the string table.
54
b90efa5b 552015-01-01 Alan Modra <amodra@gmail.com>
ee3b52e9 56
b90efa5b 57 Update year range in copyright notice of all files.
ee3b52e9 58
b90efa5b 59For older changes see ChangeLog-2014
56882138 60\f
b90efa5b 61Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
62
63Copying and distribution of this file, with or without modification,
64are permitted in any medium without royalty provided the copyright
65notice and this notice are preserved.
66
56882138
AM
67Local Variables:
68mode: change-log
69left-margin: 8
70fill-column: 74
71version-control: never
72End: