OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3550-g4ea1c84
Gerrit Code Review
gerrit@openafs.org
Thu, 28 Feb 2013 16:24:35 -0800 (PST)
The following commit has been merged in the master branch:
commit 4ea1c8440aad6bb6dc9cdb598b5708c685603219
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Thu Feb 28 17:14:20 2013 +0000
afsmonitor: Fix multiple NUM_FS_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_FS_STAT_ENTRIES constant.
Caught by coverity (#985570, #985571, #985572)
Change-Id: I8a28f06059771f91415ebc989714929cfd09f296
Reviewed-on: http://gerrit.openafs.org/9315
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