svn rev #23368: trunk/src/lib/krb5/krb/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Nov 27 14:30:29 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23368
Commit By: ghudson
Log Message:
If krb5_init_creds_step is called on an already complete context,
return 0 rather than uninitialized stack garbage.



Changed Files:
U   trunk/src/lib/krb5/krb/get_in_tkt.c
Modified: trunk/src/lib/krb5/krb/get_in_tkt.c
===================================================================
--- trunk/src/lib/krb5/krb/get_in_tkt.c	2009-11-27 09:15:50 UTC (rev 23367)
+++ trunk/src/lib/krb5/krb/get_in_tkt.c	2009-11-27 19:30:29 UTC (rev 23368)
@@ -1882,7 +1882,7 @@
                      krb5_data *realm,
                      unsigned int *flags)
 {
-    krb5_error_code code, code2;
+    krb5_error_code code = 0, code2;
 
     *flags = 0;
 




More information about the cvs-krb5 mailing list