git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
auth: Don't crash if UserList contains bogus line
[openafs.git]
/
src
/
auth
/
userok.c
diff --git
a/src/auth/userok.c
b/src/auth/userok.c
index
efd488a
..
a8ee672
100644
(file)
--- a/
src/auth/userok.c
+++ b/
src/auth/userok.c
@@
-159,6
+159,8
@@
afsconf_DeleteIdentity(struct afsconf_dir *adir, struct rx_identity *user)
struct rx_identity identity;
afs_int32 code;
+ memset(&identity, 0, sizeof(struct rx_identity));
+
LOCK_GLOBAL_MUTEX;
UserListFileName(adir, tbuffer, sizeof tbuffer);
#ifndef AFS_NT40_ENV