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

hartmans@MIT.EDU hartmans at MIT.EDU
Thu Feb 26 15:32:36 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22057
Commit By: hartmans
Log Message:
ticket: 6400

krb5_merge_authdata  should initialize output on failure.


Changed Files:
U   trunk/src/lib/krb5/krb/copy_auth.c
Modified: trunk/src/lib/krb5/krb/copy_auth.c
===================================================================
--- trunk/src/lib/krb5/krb/copy_auth.c	2009-02-26 20:07:05 UTC (rev 22056)
+++ trunk/src/lib/krb5/krb/copy_auth.c	2009-02-26 20:32:35 UTC (rev 22057)
@@ -84,6 +84,7 @@
     krb5_authdata ** tempauthdat;
     register unsigned int nelems = 0, nelems2 = 0;
 
+    *outauthdat = NULL;
     if (!inauthdat1 && !inauthdat2) {
 	    *outauthdat = 0;
 	    return 0;




More information about the cvs-krb5 mailing list