]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: Freelance get callback sync and uninitialized variables
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 5 Sep 2009 03:13:52 +0000 (23:13 -0400)
committerJeffrey Altman <jaltman|account-1000011@unknown>
Sat, 5 Sep 2009 13:41:32 +0000 (06:41 -0700)
commita43c893d498effd1165bfe78179934194c34b448
treeb8bf6097afae2cdfe82e3b9e262da560d84b3d1e
parentad1e9c7084e99a67ee7a61c255a6059ebc9190c3
Windows: Freelance get callback sync and uninitialized variables

In cm_GetCallback the Freelance mode case did not properly
synchronize attempts to fake obtain a callback.

cm_GetCallback also failed to initialize the contents of afsStatus and
volSync which are used as input to cm_MergeStatus.
cm_MergeStatus special cased the freelance root.afs volume root
directory but failed to handle any other freelance volume objects.
As a result it used the contents of the uninitialzed input structures
to populate the status of the object for which the callback was
obtained.

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/401
Tested-by: Asanka Herath <asanka@secure-endpoints.com>
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_scache.c