aboutsummaryrefslogtreecommitdiff
path: root/gprof/utils.c
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/utils.c
parent00927233079d1d65826fd611019e9167706b9ec6 (diff)
downloadgdb-c616591359a014fcfdb5acb48e70ecda0823fb46.zip
gdb-c616591359a014fcfdb5acb48e70ecda0823fb46.tar.gz
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/utils.c')
0 files changed, 0 insertions, 0 deletions