Fix an illegal memory access parsing corrupt STABD debug information.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
92134dc1
NC
12017-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
a2dea0b2
NC
72017-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
b32e566b
NC
142017-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
c1221402
NC
222017-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
f055032e
NC
282017-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.
1835f746 33 (dump_section_as_bytes, load_specific_debug_section): Likewise.
f055032e 34
ebdf1ebf
NC
352017-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
4aeb00ad
NC
462017-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
0ee3043f
NC
522017-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
f84ce13b
NC
582017-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
03f7786e
NC
682017-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
387dd777
DP
752017-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
cf581a9b
NC
842017-01-23 Nick Clifton <nickc@redhat.com>
85
86 * MAINTAINERS: Add Bernd to Past Maintainers section.
c49f9d0f 87 (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
71d01c69 88 section.
cf581a9b 89
715e99a4
BS
902017-01-23 Bernd Schmidt <bschmidt@redhat.com>
91
92 * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
93
1737c640
AB
942017-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
2cedb9eb
BR
1022017-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
6bb21700
DT
1082017-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
2425a30e
NC
1162017-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
b972a0d6
NC
1242017-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
cd6581da
NC
1302017-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
4d74727a
AM
1382017-01-09 Alan Modra <amodra@gmail.com>
139
140 * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
141 comment.
142
fd13a84b
NC
1432017-01-06 Nick Clifton <nickc@redhat.com>
144
145 * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
146
b0556316
DP
1472017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
148
149 PR 20958
150 * syslex.l (option): Add noyywrap
151 (yywrap): Delete.
152
2571583a
AM
1532017-01-02 Alan Modra <amodra@gmail.com>
154
155 Update year range in copyright notice of all files.
156
5c1ad6b5 157For older changes see ChangeLog-2016
3499769a 158\f
5c1ad6b5 159Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
160
161Copying and distribution of this file, with or without modification,
162are permitted in any medium without royalty provided the copyright
163notice and this notice are preserved.
164
165Local Variables:
166mode: change-log
167left-margin: 8
168fill-column: 74
169version-control: never
170End:
This page took 0.070702 seconds and 4 git commands to generate.