-2012-09-20 Joe Seymour <jseymour@codesourcery.com>
+2016-08-30 Nick Clifton <nickc@redhat.com>
- * corefile.c (core_sym_class): Allow for ".constprop.N" cloned
- functions.
+ PR gprof/20499
+ * corefile.c (num_of_syms_in): Return an unsigned int.
+ (core_create_syms_from): Catch a possible integer overflow
+ computing the argument to xmalloc. Also allow for the possibility
+ that an integer overflow in num_of_syms_in means that less space
+ has been allocated than expected.
-2012-09-14 David Edelsohn <dje.gcc@gmail.com>
+2016-08-23 Nick Clifton <nickc@redhat.com>
- * configure: Regenerate.
+ PR gprof/20499
+ * corefile.c (BUFSIZE): Define.
+ (STR_BUFSIZE): Define.
+ (read_function_mappings): Use BUFSIZE and STR)BUFSIZE.
+ (num_of_syms_in): Move buf, address and name arrays out of
+ function and declare as static BUFSIZE arrays.
+ Use STR_BUFSIZE when scanning for name and address.
+ (core_create_syms_from): Revert previous delta. Instead
+ short circuit the parsing of a symbol if all three fields
+ could not be found.
-2012-09-11 Molly Heidecker <tworoses1@gmail.com>
+2016-08-22 Nick Clifton <nickc@redhat.com>
- PR gprof/13836
- * fsf_callg_bl.m: Fix typo.
+ PR gprof/20499
+ * corefile.c (core_create_syms_from): Avoid walking off the end of
+ the symbol table.
-2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
+2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated.
-2012-08-09 Nick Clifton <nickc@redhat.com>
-
- * po/vi.po: Updated Vietnamese translation.
-
-2012-08-07 Nick Clifton <nickc@redhat.com>
-
- * po/ja.po: Updated Japanese translation.
-
-2012-07-30 Nick Clifton <nickc@redhat.com>
+2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
- * po/gprof.pot: Updated template.
- * po/bg.po: Updated Bulgarian translation.
- * po/es.po: Updated Spanish translation.
+ * basic_blocks.c: Update old style function definitions.
+ * cg_arcs.c: Likewise.
+ * cg_print.c: Likewise.
+ * gen-c-prog.awk: Likewise.
+ * gmon_io.c: Likewise.
+ * hertz.c: Likewise.
+ * hist.c: Likewise.
+ * sym_ids.c: Likewise.
-2012-07-29 Alan Modra <amodra@gmail.com>
+2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
- * gprof.h: Don't include gconfig.h twice. Undef conflicting
- PACKAGE_* defines.
+ * Makefile.in: Regenerated with automake 1.11.6.
+ * aclocal.m4: Likewise.
-2012-07-27 Mike Frysinger <vapier@gentoo.org>
+2016-03-22 Nick Clifton <nickc@redhat.com>
- * configure.in (BFD_VERSION): Run bfd/configure --version and
- parse the output of that.
* configure: Regenerate.
-2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
+2016-01-17 Alan Modra <amodra@gmail.com>
- * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix.
- * Makefile.in: Regenerate.
-
-2012-03-06 Tristan Gingold <gingold@adacore.com>
-
- * corefile.c (core_create_function_syms): Do not call bsearch if
- symbol_map_count is 0.
+ * configure: Regenerate.
-2012-02-06 Nick Clifton <nickc@redhat.com>
+2016-01-01 Alan Modra <amodra@gmail.com>
- * po/sr.po: New Serbian translation.
- * configure.in (ALL_LINGUAS): Add sr.
- * configure: Regenerate.
+ Update year range in copyright notice of all files.
-For older changes see ChangeLog-2011
+For older changes see ChangeLog-2015
\f
-Copyright (C) 2012 Free Software Foundation, Inc.
+Copyright (C) 2016 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright