svn rev #22428: branches/krb5-1-6/src/lib/kadm5/clnt/

tlyu@MIT.EDU tlyu at MIT.EDU
Wed Jul 8 21:59:09 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22428
Commit By: tlyu
Log Message:
ticket: 6053
version_fixed: 1.6.4

pull up r20580 from trunk

 ------------------------------------------------------------------------
 r20580 | raeburn | 2008-07-25 15:19:06 -0400 (Fri, 25 Jul 2008) | 8 lines

 ticket: new
 target_version: 1.6.4
 tags: pullup
 subject: fix possible uninit variable use in error path

 Clear gss_client and gss_target before any possible branch to 'error',
 where they can be used.


Changed Files:
U   branches/krb5-1-6/src/lib/kadm5/clnt/client_init.c
Modified: branches/krb5-1-6/src/lib/kadm5/clnt/client_init.c
===================================================================
--- branches/krb5-1-6/src/lib/kadm5/clnt/client_init.c	2009-07-09 01:59:03 UTC (rev 22427)
+++ branches/krb5-1-6/src/lib/kadm5/clnt/client_init.c	2009-07-09 01:59:08 UTC (rev 22428)
@@ -569,6 +569,7 @@
      code = KADM5_GSS_ERROR;
      gss_client_creds = GSS_C_NO_CREDENTIAL;
      ccname_orig = NULL;
+     gss_client = gss_target = GSS_C_NO_NAME;
 
      /* Temporarily use the kadm5 cache. */
      gssstat = gss_krb5_ccache_name(&minor_stat, handle->cache_name,




More information about the cvs-krb5 mailing list