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