OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_2-26-gd3dca0b
Gerrit Code Review
gerrit@openafs.org
Fri, 22 Mar 2013 06:01:03 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit d3dca0b7dd7874dee01065e04eccd68a63fc1493
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Mar 1 11:31:31 2013 +0000
unlog: Don't overflow cells array
cells has a maximum size of MAXCELLS. Doing cells[MAXCELLS] overflows
that array. Clamp our maximum number of cells at one below this to
avoid the overflow.
Caught by coverity (#98551)
Reviewed-on: http://gerrit.openafs.org/9324
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit ff7fd58b49a41bf85df492b9f470004d4433800e)
Change-Id: If6c0caed4b4fedf571c4c6c6b8466bfaaff67975
Reviewed-on: http://gerrit.openafs.org/9374
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/log/unlog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository