OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3131-gf436fe0
Gerrit Code Review
gerrit@openafs.org
Fri, 23 Nov 2012 07:47:06 -0800 (PST)
The following commit has been merged in the master branch:
commit f436fe03c80e21b6a58a6de962070841e00791ef
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sat Nov 17 21:44:52 2012 -0500
Windows: buf_CleanLocked protect against NULL bp->userp
The cm_buf_t.userp field should never be NULL if the CM_BUF_DIRTY
flag is set but apparently it sometimes is. cm_BufWrite() requires
that the userp parameter be non-NULL. Otherwise, an assertion fails
and afsd_service.exe panics. If bp->userp is NULL, use cm_rootUserp.
The worst that will happen is the write will fail due to an access
denied error.
Change-Id: I6cc650dcffe2b0fb50ac2ce91b74e8afbdfc40ca
Reviewed-on: http://gerrit.openafs.org/8475
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_buf.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository