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

ghudson@MIT.EDU ghudson at MIT.EDU
Tue Jan 20 13:50:55 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=21763
Commit By: ghudson
Log Message:
In krb5_rd_rep_dce, initialize repl to NULL to avoid using its
initialized value when we take the first goto to clean_scratch.



Changed Files:
U   trunk/src/lib/krb5/krb/rd_rep.c
Modified: trunk/src/lib/krb5/krb/rd_rep.c
===================================================================
--- trunk/src/lib/krb5/krb/rd_rep.c	2009-01-17 01:00:22 UTC (rev 21762)
+++ trunk/src/lib/krb5/krb/rd_rep.c	2009-01-20 18:50:51 UTC (rev 21763)
@@ -151,7 +151,7 @@
     krb5_error_code 	  retval;
     krb5_ap_rep 	* reply;
     krb5_data 	 	  scratch;
-    krb5_ap_rep_enc_part *repl;
+    krb5_ap_rep_enc_part *repl = NULL;
 
     if (!krb5_is_ap_rep(inbuf))
 	return KRB5KRB_AP_ERR_MSG_TYPE;




More information about the cvs-krb5 mailing list