OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_66-6-gb90f424
Gerrit Code Review
gerrit@openafs.org
Mon, 26 Oct 2009 11:54:29 -0700 (PDT)
The following commit has been merged in the master branch:
commit b90f4241285efccdf8be5f9ce3ae28c64fbccd38
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Oct 23 15:02:12 2009 -0500
Avoid 'salvageserver -client -showlog' segfault
Running salvageserver with the -client and -showlog options will
currently segfault, since -client does not open logFile, and -showlog
will attempt to rewind logFile on exit.
Fix this by not allowing -client and -showlog together (since it won't
work anyway, as -showlog tries to read SalvageLog), and by making
showlog() check logFile for NULL-ness.
Change-Id: I30f43ef1696f1e7e8873b9e1cc3867b4e06d1980
Reviewed-on: http://gerrit.openafs.org/734
Tested-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/salvaged.c | 5 +++++
src/vol/vol-salvage.c | 6 ++++--
2 files changed, 9 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository