OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3411-g03c04c0
Gerrit Code Review
gerrit@openafs.org
Thu, 21 Feb 2013 08:51:58 -0800 (PST)
The following commit has been merged in the master branch:
commit 03c04c081a170668e52127be3c150582e458e1ed
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Feb 15 11:37:47 2013 +0000
Don't allocate objects of 0 length
Fix assorted places in the code where we might have asked malloc to
allocate a block of zero length.
Caught by clang-analyzer
Change-Id: I6e1226ad83a52984ee7c53cbed8c867f38e4f866
Reviewed-on: http://gerrit.openafs.org/9155
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/budb/procs.c | 9 ++++++---
src/libadmin/vos/vosutils.c | 27 +++++++++++++++------------
src/tools/dumpscan/dumptool.c | 17 ++++++++++++-----
src/viced/callback.c | 6 ++++--
src/xstat/xstat_cm_test.c | 21 +++++++++++++++------
src/xstat/xstat_fs_test.c | 7 ++++++-
6 files changed, 58 insertions(+), 29 deletions(-)
--
OpenAFS Master Repository