The following commit has been merged in the openafs-stable-1_6_x branch:
commit ab2077b4646e612a4d51b0216344c4e63c165c1b
Author: Simon Wilkinson <[email protected]>
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)
Reviewed-on: http://gerrit.openafs.org/9315
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
(cherry picked from commit 4ea1c8440aad6bb6dc9cdb598b5708c685603219)
Change-Id: I028fcb13716ba60266635a1f04f2dda083cba1a3
Reviewed-on: http://gerrit.openafs.org/11028
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/afsmonitor/afsmonitor.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs