OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3551-g3beca62
Gerrit Code Review
gerrit@openafs.org
Thu, 28 Feb 2013 16:25:13 -0800 (PST)
The following commit has been merged in the master branch:
commit 3beca62928665868294ec3e9d34ab63b41e12645
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Thu Feb 28 17:14:20 2013 +0000
afsmonitor: Fix multiple NUM_CM_STAT_ENTRIES overflows
If an array is n elements long, accessing element array[n] is an
overflow. Fix various places where we apply loop bounds incorrectly
using the NUM_CM_STAT_ENTRIES constant.
Caught by coverity (#985571, #985573)
Change-Id: I24a53e8044d3d5d39d070909400329a82f22b6b9
Reviewed-on: http://gerrit.openafs.org/9316
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/afsmonitor/afsmonitor.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
--
OpenAFS Master Repository