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