Fix more potential seg-faults in gprof.
[external/binutils.git] / gprof / ChangeLog
index aa4c966..e5afbf6 100644 (file)
@@ -1,13 +1,66 @@
-2013-05-22  Venkataramanan Kumar  <Venkataramanan.kumar@linaro.org>
+2016-08-30  Nick Clifton  <nickc@redhat.com>
 
-       * aarch64.c: New file.
-       * corefile.c (find_call): Call aarch64_find_call for bfd_arch_aarch64.
-       * Makefile.am (sources): Add aarch64.c.
-       * Makefile.in: Regenerate.
+       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.
 
-For older changes see ChangeLog-2012
+2016-08-23  Nick Clifton  <nickc@redhat.com>
+
+       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.
+
+2016-08-22  Nick Clifton  <nickc@redhat.com>
+
+       PR gprof/20499
+       * corefile.c (core_create_syms_from): Avoid walking off the end of
+       the symbol table.
+
+2016-07-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * 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.
+
+2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in: Regenerated with automake 1.11.6.
+       * aclocal.m4: Likewise.
+
+2016-03-22  Nick Clifton  <nickc@redhat.com>
+
+       * configure: Regenerate.
+
+2016-01-17  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2016-01-01  Alan Modra  <amodra@gmail.com>
+
+       Update year range in copyright notice of all files.
+
+For older changes see ChangeLog-2015
 \f
-Copyright (C) 2013 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