aboutsummaryrefslogtreecommitdiff
path: root/gprof/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-08-30 13:38:54 +0100
committerNick Clifton <nickc@redhat.com>2016-08-30 13:38:54 +0100
commit00927233079d1d65826fd611019e9167706b9ec6 (patch)
treec6807426548726e78bb0c0dafde5a25678189d33 /gprof/ChangeLog
parent8941017bc0226b60ce306d5271df15820ce66a53 (diff)
downloadfsf-binutils-gdb-00927233079d1d65826fd611019e9167706b9ec6.zip
fsf-binutils-gdb-00927233079d1d65826fd611019e9167706b9ec6.tar.gz
fsf-binutils-gdb-00927233079d1d65826fd611019e9167706b9ec6.tar.bz2
Fix more potential seg-faults in gprof.
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.
Diffstat (limited to 'gprof/ChangeLog')
-rw-r--r--gprof/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 1081e8f..e5afbf6 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,12 @@
+2016-08-30 Nick Clifton <nickc@redhat.com>
+
+ 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.
+
2016-08-23 Nick Clifton <nickc@redhat.com>
PR gprof/20499