Fix memory access violations triggered by running sysdump on fuzzed binaries.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
3565cf8f
NC
12015-01-08 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/17512
848cde35
NC
4 * sysdump.c (getINT): Fail if reading off the end of the buffer.
5 Replace call to abort with a call to fatal.
6 (getCHARS): Prevetn reading off the end of the buffer.
7
3565cf8f
NC
8 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
9 associated symbol.
10 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
11 range before applying a reloc.
12
c88f5b8e
NC
132015-01-07 Nick Clifton <nickc@redhat.com>
14
15 PR binutils/17512
d7b24d29
NC
16 * dlltool.c (scan_obj_file): Break loop if the last archive
17 displayed matches the current archive.
18
c88f5b8e
NC
19 * objdump.c (display_any_bfd): Add a depth limit to nested archive
20 display in order to avoid infinite loops.
21 * srconv.c: Replace calls to abort with calls to fatal with an
22 error message.
23
85880250
NC
242015-01-06 Nick Clifton <nickc@redhat.com>
25
26 PR binutils/17512
27 * coffdump.c (dump_coff_section): Check for a symbol being
28 available before printing its name.
29 (main): Check the return value from coff_grok.
30 * coffgrok.c: Reformat and tidy.
31 Add range checks to most functions.
32 (coff_grok): Return NULL if the input bfd is not in a COFF
33 format.
34 * coffgrok.h: Reformat and tidy.
35 (struct coff_section): Change the nrelocs field to unsigned.
36 * srconv.c (main): Check the return value from coff_grok.
37
896ca098
NC
382015-01-05 Nick Clifton <nickc@redhat.com>
39
40 PR binutils/17512
41 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
42 help initialize the info.elfinfo field.
43 (print_size_symbols): Add 'synth_count' parameter. Use it to set
44 the is_synthetic parameter when calling print_symbol.
45 (print_symbols): Likewise.
46 (display_rel_file): Pass synth_count to printing function.
47 (display_archive): Break loop if the last archive displayed
48 matches the current archive.
49 * size.c (display_archive): Likewise.
50
82b1b41b
NC
512015-01-05 Nick Clifton <nickc@redhat.com>
52
53 PR binutils/17531
54 * dwarf.c (alloc_num_debug_info_entries): New variable.
55 (process_debug_info): Set it. Use it to avoid displaying
56 attributes for which there is no info.
57 (display_debug_abbrev): Check that the debug_info_entry index is
58 valid before using it.
59 (display_loc_list_dwo): Likewise.
60 (process_cu_tu_index): Add range check for an overlarge dw_sect
61 value.
62 (free_debug_memory): Reset alloc_num_debug_info_entries.
63 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
64 be indentified.
65 (dynamic_section_mips_val): Warn if the timestamp is invalid.
66 (print_mips_got_entry): Add a data_end parameter. Warn if a read
67 would go beyond the end of the data, and return an error value.
68 (process_mips_specific): Do not read options from beyond the end
69 of the section.
70 Correct code to display optional data at the end of an option.
71 Warn if there are too many GOT symbols.
72 Update calls to print_mips_got_entry, and handle error returns.
73
c1724c7f
DK
742015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
75
76 PR binutils/17489
77 * doc/binutils.texi (dlltool): Correct description of --kill-at
78 option.
79
efd321f9
AM
802015-01-01 Alan Modra <amodra@gmail.com>
81
82 * version.c (print_version): Just print current year.
83
b90efa5b 842015-01-01 Alan Modra <amodra@gmail.com>
5c294fee 85
b90efa5b 86 Update year range in copyright notice of all files.
5c294fee 87
b90efa5b 88For older changes see ChangeLog-2014
252b5132 89\f
b90efa5b 90Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
91
92Copying and distribution of this file, with or without modification,
93are permitted in any medium without royalty provided the copyright
94notice and this notice are preserved.
95
252b5132
RH
96Local Variables:
97mode: change-log
98left-margin: 8
99fill-column: 74
100version-control: never
101End:
This page took 0.621221 seconds and 4 git commands to generate.