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