Fix invalid read of section contents whilst processing a corrupt binary.
[binutils-gdb.git] / binutils / ChangeLog
1 2017-02-13 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/21135
4 * readelf.c (dump_section_as_bytes): Handle the case where
5 uncompress_section_contents returns false.
6
7 2017-02-13 Nick Clifton <nickc@redhat.com>
8
9 PR binutils/21149
10 * readelf.c (get_compression_header): Add size parameter. Check
11 size against sizeof compression header before attempting to
12 extract the header.
13 (process_section_headers): Pass size to get_compression_header.
14 (dump_section_as_strings): Likewise.
15 (dump_section_as_bytes): Likewise.
16 (load_specific_debug_section): Likewise.
17
18 2017-02-13 Nick Clifton <nickc@redhat.com>
19
20 PR binutils/21148
21 * readelf.c (process_version_sections): Include size of auxillary
22 version information when checking for buffer overflow.
23
24 2017-02-13 Nick Clifton <nickc@redhat.com>
25
26 PR binutils/21147
27 * readelf.c (process_section_contents): Fix off by one error
28 reporting un-dumped sections.
29
30 2017-02-13 Nick Clifton <nickc@redhat.com>
31
32 PR binutils/21139
33 * readelf.c (target_specific_reloc_handling): Add num_syms
34 parameter. Check for symbol table overflow before accessing
35 symbol value. If reloc pointer is NULL, discard all saved state.
36 (apply_relocations): Pass num_syms to target_specific_reloc_handling.
37 Call target_specific_reloc_handling with a NULL reloc pointer
38 after processing all of the relocs.
39
40 2017-02-13 Nick Clifton <nickc@redhat.com>
41
42 PR binutils/21137
43 * readelf.c (target_specific_reloc_handling): Add end parameter.
44 Check for buffer overflow before writing relocated values.
45 (apply_relocations): Pass end to target_specific_reloc_handling.
46
47 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
48 Nick Clifton <nickc@redhat.com>
49
50 PR 20343
51 * doc/binutils.texi (ar): Extend documentation of the --plugin
52 option. Include a description of where the plugins should be
53 located.
54 (nm): Likewise.
55
56 2017-01-23 Nick Clifton <nickc@redhat.com>
57
58 * MAINTAINERS: Add Bernd to Past Maintainers section.
59 (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
60 section.
61
62 2017-01-23 Bernd Schmidt <bschmidt@redhat.com>
63
64 * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
65
66 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * objdump.c (dump_section_header): Extract max section name length
69 from data parameter, use this when formatting output.
70 (find_longest_section_name): New function.
71 (dump_headers): Calculate longest section name when in wide mode,
72 reformat to unify printing of header line.
73
74 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
75
76 PR 21059
77 * arlex.l: Support processing with flex 2.6.3.
78 * deflex.l: Likewise.
79
80 2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
81
82 * resbin.c: Optional dialog control data immediately follows
83 the control description without alignment.
84 * testsuite/binutils-all/windres/controldata.rc: New test.
85 source.
86 * testsuite/binutils-all/windres/controldata.rsd: New test.
87
88 2017-01-12 Nick Clifton <nickc@redhat.com>
89
90 PR binutils/20876
91 * NEWS: Mention the new feature.
92 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
93 New proc to test the location of separate debug info files using
94 the build-id method.
95
96 2017-01-10 Nick Clifton <nickc@redhat.com>
97
98 PR 21034
99 * stabs.c (parse_stab_members): Fix thinko checking for g++
100 version 1 stabs information.
101
102 2017-01-09 Nick Clifton <nickc@redhat.com>
103
104 * objdump.c (display_file): Add new parameter 'last_file'. If
105 last_file is true, do not call bfd_close at the end of the
106 function.
107 (main): Set the value of the last_file parameter when calling
108 display_file.
109
110 2017-01-09 Alan Modra <amodra@gmail.com>
111
112 * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
113 comment.
114
115 2017-01-06 Nick Clifton <nickc@redhat.com>
116
117 * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
118
119 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
120
121 PR 20958
122 * syslex.l (option): Add noyywrap
123 (yywrap): Delete.
124
125 2017-01-02 Alan Modra <amodra@gmail.com>
126
127 Update year range in copyright notice of all files.
128
129 For older changes see ChangeLog-2016
130 \f
131 Copyright (C) 2017 Free Software Foundation, Inc.
132
133 Copying and distribution of this file, with or without modification,
134 are permitted in any medium without royalty provided the copyright
135 notice and this notice are preserved.
136
137 Local Variables:
138 mode: change-log
139 left-margin: 8
140 fill-column: 74
141 version-control: never
142 End: