aboutsummaryrefslogtreecommitdiff
path: root/gprof/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-08-30 13:51:43 +0100
committerNick Clifton <nickc@redhat.com>2016-08-30 13:51:43 +0100
commitc616591359a014fcfdb5acb48e70ecda0823fb46 (patch)
tree3c06960c3eed4747c00dc38455b7faa36a63d60f /gprof/ChangeLog
parent00927233079d1d65826fd611019e9167706b9ec6 (diff)
downloadfsf-binutils-gdb-c616591359a014fcfdb5acb48e70ecda0823fb46.zip
fsf-binutils-gdb-c616591359a014fcfdb5acb48e70ecda0823fb46.tar.gz
fsf-binutils-gdb-c616591359a014fcfdb5acb48e70ecda0823fb46.tar.bz2
Partially revert previous delta - move limit testing code to first scan over symbol file.
PR gprof/20499 * corefile.c (num_of_syms_in): Return an unsigned int. Fail if the count exceeds the maximum possible allocatable size. (core_create_syms_from): Exit early if num_of_syms_in returns a failure code.
Diffstat (limited to 'gprof/ChangeLog')
-rw-r--r--gprof/ChangeLog7
1 files changed, 3 insertions, 4 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index e5afbf6..176a8f9 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -2,10 +2,9 @@
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.
+ Fail if the count exceeds the maximum possible allocatable size.
+ (core_create_syms_from): Exit early if num_of_syms_in returns a
+ failure code.
2016-08-23 Nick Clifton <nickc@redhat.com>