From: Greg Hudson Date: Fri, 27 Nov 2009 19:30:29 +0000 (+0000) Subject: If krb5_init_creds_step is called on an already complete context, X-Git-Tag: krb5-1.8-alpha1~138 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b45cda38f96954c2173f4437685a9bc332d37775;p=krb5.git 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 --- 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;