From: Jeffrey Altman Date: Mon, 19 Dec 2005 12:36:48 +0000 (+0000) Subject: windows-uninit-20051219 X-Git-Tag: openafs-devel-1_5_0~145 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=065f9e1196cf1067ad2bad9ecc49ed01b971a3a2;p=packages%2Fo%2Fopenafs.git windows-uninit-20051219 initialize the variable containing the afs id in case the pts lookup fails --- diff --git a/src/WINNT/afsd/afskfw.c b/src/WINNT/afsd/afskfw.c index 9113989ff..38b6408d1 100644 --- a/src/WINNT/afsd/afskfw.c +++ b/src/WINNT/afsd/afskfw.c @@ -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;