]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-uninit-20051219
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 19 Dec 2005 12:36:48 +0000 (12:36 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 19 Dec 2005 12:36:48 +0000 (12:36 +0000)
initialize the variable containing the afs id in case the pts lookup
fails

src/WINNT/afsd/afskfw.c

index 9113989ff1b03aa3c66a86a59f1034a7c347d44d..38b6408d1b48c2af1605dd382a8d1dc37722dee6 100644 (file)
@@ -2531,7 +2531,7 @@ ViceIDToUsername(char *username,
 #ifdef AFS_ID_TO_NAME
     char username_copy[BUFSIZ];
 #endif /* AFS_ID_TO_NAME */
-    long viceId;                       /* AFS uid of user */
+    long viceId = ANONYMOUSID;         /* AFS uid of user */
     int  status = 0;
 #ifdef ALLOW_REGISTER
     afs_int32 id;