Establiched agreement on what buffer sizes are tajen and returned
authorMiro Jurisic <meeroh@mit.edu>
Thu, 25 Feb 1999 00:17:17 +0000 (00:17 +0000)
committerMiro Jurisic <meeroh@mit.edu>
Thu, 25 Feb 1999 00:17:17 +0000 (00:17 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11217 dc483132-0cff-0310-8789-dd5450dbe970

src/mac/libraries/Kerberos v5 Globals/Krb5Globals.c

index 5dbc57c36b14925a1b653b32c4c0aa8ab7c95602..aa7c379cf3d4cdd1d2f362e102d94cc5d712f84c 100644 (file)
@@ -65,7 +65,7 @@ Krb5GlobalsGetDefaultCacheName (
                BlockMoveData (gKerberos5SystemDefaultCacheName, inName, inLength);
                inName [inLength] = '\0';
        }
-       return strlen (gKerberos5SystemDefaultCacheName);
+       return strlen (gKerberos5SystemDefaultCacheName) + 1;
 }
 
 /*