Fix more potential seg-faults in gprof.
[external/binutils.git] / gprof / ChangeLog
1 2016-08-30  Nick Clifton  <nickc@redhat.com>
2
3         PR gprof/20499
4         * corefile.c (num_of_syms_in): Return an unsigned int.
5         (core_create_syms_from): Catch a possible integer overflow
6         computing the argument to xmalloc.  Also allow for the possibility
7         that an integer overflow in num_of_syms_in means that less space
8         has been allocated than expected.
9
10 2016-08-23  Nick Clifton  <nickc@redhat.com>
11
12         PR gprof/20499
13         * corefile.c (BUFSIZE): Define.
14         (STR_BUFSIZE): Define.
15         (read_function_mappings): Use BUFSIZE and STR)BUFSIZE.
16         (num_of_syms_in): Move buf, address and name arrays out of
17         function and declare as static BUFSIZE arrays.
18         Use STR_BUFSIZE when scanning for name and address.
19         (core_create_syms_from): Revert previous delta.  Instead
20         short circuit the parsing of a symbol if all three fields
21         could not be found.
22
23 2016-08-22  Nick Clifton  <nickc@redhat.com>
24
25         PR gprof/20499
26         * corefile.c (core_create_syms_from): Avoid walking off the end of
27         the symbol table.
28
29 2016-07-21  H.J. Lu  <hongjiu.lu@intel.com>
30
31         * configure: Regenerated.
32
33 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
34
35         * basic_blocks.c: Update old style function definitions.
36         * cg_arcs.c: Likewise.
37         * cg_print.c: Likewise.
38         * gen-c-prog.awk: Likewise.
39         * gmon_io.c: Likewise.
40         * hertz.c: Likewise.
41         * hist.c: Likewise.
42         * sym_ids.c: Likewise.
43
44 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
45
46         * Makefile.in: Regenerated with automake 1.11.6.
47         * aclocal.m4: Likewise.
48
49 2016-03-22  Nick Clifton  <nickc@redhat.com>
50
51         * configure: Regenerate.
52
53 2016-01-17  Alan Modra  <amodra@gmail.com>
54
55         * configure: Regenerate.
56
57 2016-01-01  Alan Modra  <amodra@gmail.com>
58
59         Update year range in copyright notice of all files.
60
61 For older changes see ChangeLog-2015
62 \f
63 Copyright (C) 2016 Free Software Foundation, Inc.
64
65 Copying and distribution of this file, with or without modification,
66 are permitted in any medium without royalty provided the copyright
67 notice and this notice are preserved.
68
69 Local Variables:
70 mode: change-log
71 left-margin: 8
72 fill-column: 74
73 version-control: never
74 End: