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