OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-180-g67f1a94
Gerrit Code Review
gerrit@openafs.org
Sun, 30 May 2010 13:11:39 -0700 (PDT)
The following commit has been merged in the master branch:
commit 16c4b6e6c06ef2e7cfe77bca0811af9001665805
Author: Rod Widdowson <rdw@steadingsoftware.com>
Date: Wed May 19 10:45:57 2010 +0100
Add bounds checking prior to IOs in vldb_check
vldb_check would just read where it was sent. This means that if a
hash entry was beyond the end of file the read would fail and halt the
program dead.
This change adds checks for that so we can go limping on.
There is no code to fix this sort of corruption. I have another
(preexisting) checkin to do that which will happen once I can get a
clean test run.
This checkin also removes a some pointless debugging printfs.
Change-Id: Ib285e113c8db024de41ffaf6c11ceb2979d07041
Reviewed-on: http://gerrit.openafs.org/1990
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
src/vlserver/vldb_check.c | 105 ++++++++++++++++++++++++++++++++++++--------
1 files changed, 86 insertions(+), 19 deletions(-)
--
OpenAFS Master Repository