The following commit has been merged in the master branch:
commit b7f1763652fb932ca5bd3f3351a48df11e58f2dc
Author: Michael Meffie <[email protected]>
Date: Mon Jul 28 17:27:40 2014 -0400
libafs: do not allow NULL creds for afs_CreateReq
Do not allow callers to pass a NULL cred to afs_CreateReq. This
avoids setting the uid of zero in the vrequest when no cred is
passed. Update callers to pass afs_osi_credp for an anonymous cred
when no cred is available.
Thanks to Andrew Deason for pointing out afs_osi_credp should be
used.
Change-Id: I05f694026ec72ab701160d9920e47c16cda46cd7
Reviewed-on: http://gerrit.openafs.org/11336
Tested-by: BuildBot <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Reviewed-by: D Brashear <[email protected]>
src/afs/afs_osi_pag.c | 17 +++++++----------
src/afs/afs_osi_vget.c | 2 +-
src/afs/afs_vcache.c | 2 +-
3 files changed, 9 insertions(+), 12 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs