From 9dce9e2461d7b375c0ff4caaf400a6b448322e74 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 19 Apr 2012 05:14:51 -0400 Subject: [PATCH] Windows: cm_ResetACLCache handle NULL cellp It is valid for the cellp parameter to be NULL. When invalidating all ACLs for a user pass 0 to cm_EAccesClearUserEntries(). FIXES 130704 Change-Id: Ic6b6e5f1c2e10aa633390ee3d7c709dc202bbd29 Reviewed-on: http://gerrit.openafs.org/7251 Tested-by: BuildBot Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/WINNT/afsd/cm_aclent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/cm_aclent.c b/src/WINNT/afsd/cm_aclent.c index 494eab81e4..23dba10134 100644 --- a/src/WINNT/afsd/cm_aclent.c +++ b/src/WINNT/afsd/cm_aclent.c @@ -406,7 +406,7 @@ cm_ResetACLCache(cm_cell_t *cellp, cm_user_t *userp) } lock_ReleaseRead(&cm_scacheLock); - cm_EAccesClearUserEntries(userp, cellp->cellID); + cm_EAccesClearUserEntries(userp, cellp ? cellp->cellID : 0); if (RDR_Initialized) { lock_ObtainRead(&cm_volumeLock);