Fix more potential seg-faults in gprof.
[external/binutils.git] / gprof / ChangeLog
index d93046b..e5afbf6 100644 (file)
@@ -1,24 +1,66 @@
-2015-07-24  H.J. Lu  <hongjiu.lu@intel.com>
+2016-08-30  Nick Clifton  <nickc@redhat.com>
 
-       * alpha.c (OP_Jxx): Add 'U' suffix to make it unsigned.
-       (OP_BSR): Likewise.
-       (Jxx_FUNC_JMP): Likewise.
-       (Jxx_FUNC_JSR): Likewise.
-       (Jxx_FUNC_RET): Likewise.
-       (Jxx_FUNC_JSR_COROUTINE): Likewise.
-       (alpha_find_call): Replace 0x3f with 0x3fU.
+       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.
 
-2015-04-29  Nick Clifton  <nickc@redhat.com>
+2016-08-23  Nick Clifton  <nickc@redhat.com>
 
-       * po/da.po: Update Danish translation.
+       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.
 
-2015-01-01  Alan Modra  <amodra@gmail.com>
+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-2014
+For older changes see ChangeLog-2015
 \f
-Copyright (C) 2015 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