From b45cda38f96954c2173f4437685a9bc332d37775 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Fri, 27 Nov 2009 19:30:29 +0000 Subject: [PATCH] If krb5_init_creds_step is called on an already complete context, return 0 rather than uninitialized stack garbage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23368 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/get_in_tkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index 6ab8afad0..472801588 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -1882,7 +1882,7 @@ krb5_init_creds_step(krb5_context context, krb5_data *realm, unsigned int *flags) { - krb5_error_code code, code2; + krb5_error_code code = 0, code2; *flags = 0; -- 2.26.2