More fixes for illegal memory accesses triggered by running objdump on fuzzed binaries.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
64d29018
NC
12015-02-03 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/17512
4 * objdump.c (display_any_bfd): Fail if archives nest too deeply.
5
3f8107ab
AM
62015-01-28 James Bowman <james.bowman@ftdichip.com>
7
8 * readelf.c: Add FT32 support.
9
37e3922e
NC
102015-01-27 Nick Clifton <nickc@redhat.com>
11
12 PR binutils/17512
13 * dlltool.c (identify_search_archive): If the last archive was the
14 same as the current archive, terminate the loop.
15
877a8638
NC
16 * addr2line.c (slurp_symtab): If the symcount is zero, free the
17 symbol table pointer.
18
0897ec15
NC
19 * rcparse.y: Add checks to avoid integer divide by zero.
20 * rescoff.c (read_coff_rsrc): Add check on the size of the
21 resource section.
22 (read_coff_res_dir): Add check on the nesting level.
23 Check for resource names overrunning the buffer.
24 * resrc.c (write_rc_messagetable): Update formatting.
25 Add check of 'elen' being zero.
26
bb97bdd7
NC
272015-01-23 Nick Clifton <nickc@redhat.com>
28
29 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
30 by recent delta, when compiling on for a 32-bit host.
31
86eafac0
NC
322015-01-21 Nick Clifton <nickc@redhat.com>
33
34 PR binutils/17512
35 * addr2line.c (main): Call bfd_set_error_program_name.
36 * ar.c (main): Likewise.
37 * coffdump.c (main): Likewise.
38 * cxxfilt.c (main): Likewise.
39 * dlltool.c (main): Likewise.
40 * nlmconv.c (main): Likewise.
41 * nm.c (main): Likewise.
42 * objdump.c (main): Likewise.
43 * size.c (main): Likewise.
44 * srconv.c (main): Likewise.
45 * strings.c (main): Likewise.
46 * sysdump.c (main): Likewise.
47 * windmc.c (main): Likewise.
48 * windres.c (main): Likewise.
49 * objcopy.c (main): Likewise.
50 (copy_relocations_in_section): Check for relocs without associated
51 symbol pointers.
52
6c1965f9
RR
532015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
54
55 * MAINTAINERS: Add self to ARM maintainers list.
56
5b7d6237
NC
572015-01-21 Nick Clifton <nickc@redhat.com>
58
59 PR binutils/17512
60 * coffgrok.c (do_type): Check that computed ref exists.
61 (doit): Add range checks when computing section for scope.
62
a0a3b04c
L
632015-01-12 H.J. Lu <hongjiu.lu@intel.com>
64
65 * dwarf.c (process_debug_info): Properly check abbrev size.
66
72c61a0d
NC
672015-01-12 Nick Clifton <nickc@redhat.com>
68
69 PR binutils/17531
70 * dwarf.c (process_debug_info): Check for abbrev_base being larger
71 than the section size.
72 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
73 arrays.
74 (xcalloc2): New function. Like xcalloc, but checks for overflow.
1306a742
NC
75 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
76 array. Check for an address_base that is too large.
77
72c61a0d
NC
78 * dwarf.h (xcalloc2): Prototype.
79
b38ead21
AM
802015-01-12 Alan Modra <amodra@gmail.com>
81
82 * prdbg.c (print_debugging_info): Don't use void* for function
83 pointer param.
84 * budbg.h (print_debugging_info): Update prototype.
85
3565cf8f
NC
862015-01-08 Nick Clifton <nickc@redhat.com>
87
88 PR binutils/17512
063bb025
NC
89 * ojcopy.c (copy_object): Free the symbol table if no symbols
90 could be loaded.
91 (copy_file): Use bfd_close_all_done to close files that could not
92 be copied.
93
848cde35
NC
94 * sysdump.c (getINT): Fail if reading off the end of the buffer.
95 Replace call to abort with a call to fatal.
96 (getCHARS): Prevetn reading off the end of the buffer.
97
3565cf8f
NC
98 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
99 associated symbol.
100 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
101 range before applying a reloc.
102
c88f5b8e
NC
1032015-01-07 Nick Clifton <nickc@redhat.com>
104
105 PR binutils/17512
d7b24d29
NC
106 * dlltool.c (scan_obj_file): Break loop if the last archive
107 displayed matches the current archive.
108
c88f5b8e
NC
109 * objdump.c (display_any_bfd): Add a depth limit to nested archive
110 display in order to avoid infinite loops.
111 * srconv.c: Replace calls to abort with calls to fatal with an
112 error message.
113
85880250
NC
1142015-01-06 Nick Clifton <nickc@redhat.com>
115
116 PR binutils/17512
117 * coffdump.c (dump_coff_section): Check for a symbol being
118 available before printing its name.
119 (main): Check the return value from coff_grok.
120 * coffgrok.c: Reformat and tidy.
121 Add range checks to most functions.
122 (coff_grok): Return NULL if the input bfd is not in a COFF
123 format.
124 * coffgrok.h: Reformat and tidy.
125 (struct coff_section): Change the nrelocs field to unsigned.
126 * srconv.c (main): Check the return value from coff_grok.
127
896ca098
NC
1282015-01-05 Nick Clifton <nickc@redhat.com>
129
130 PR binutils/17512
131 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
132 help initialize the info.elfinfo field.
133 (print_size_symbols): Add 'synth_count' parameter. Use it to set
134 the is_synthetic parameter when calling print_symbol.
135 (print_symbols): Likewise.
136 (display_rel_file): Pass synth_count to printing function.
137 (display_archive): Break loop if the last archive displayed
138 matches the current archive.
139 * size.c (display_archive): Likewise.
140
82b1b41b
NC
1412015-01-05 Nick Clifton <nickc@redhat.com>
142
143 PR binutils/17531
144 * dwarf.c (alloc_num_debug_info_entries): New variable.
145 (process_debug_info): Set it. Use it to avoid displaying
146 attributes for which there is no info.
147 (display_debug_abbrev): Check that the debug_info_entry index is
148 valid before using it.
149 (display_loc_list_dwo): Likewise.
150 (process_cu_tu_index): Add range check for an overlarge dw_sect
151 value.
152 (free_debug_memory): Reset alloc_num_debug_info_entries.
153 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
154 be indentified.
155 (dynamic_section_mips_val): Warn if the timestamp is invalid.
156 (print_mips_got_entry): Add a data_end parameter. Warn if a read
157 would go beyond the end of the data, and return an error value.
158 (process_mips_specific): Do not read options from beyond the end
159 of the section.
160 Correct code to display optional data at the end of an option.
161 Warn if there are too many GOT symbols.
162 Update calls to print_mips_got_entry, and handle error returns.
163
c1724c7f
DK
1642015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
165
166 PR binutils/17489
167 * doc/binutils.texi (dlltool): Correct description of --kill-at
168 option.
169
efd321f9
AM
1702015-01-01 Alan Modra <amodra@gmail.com>
171
172 * version.c (print_version): Just print current year.
173
b90efa5b 1742015-01-01 Alan Modra <amodra@gmail.com>
5c294fee 175
b90efa5b 176 Update year range in copyright notice of all files.
5c294fee 177
b90efa5b 178For older changes see ChangeLog-2014
252b5132 179\f
b90efa5b 180Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
181
182Copying and distribution of this file, with or without modification,
183are permitted in any medium without royalty provided the copyright
184notice and this notice are preserved.
185
252b5132
RH
186Local Variables:
187mode: change-log
188left-margin: 8
189fill-column: 74
190version-control: never
191End:
This page took 0.611234 seconds and 4 git commands to generate.