svn commit: samba r17002 - in trunk/source/libads: .

jra at samba.org jra at samba.org
Thu Jul 13 00:11:24 GMT 2006


Author: jra
Date: 2006-07-13 00:11:20 +0000 (Thu, 13 Jul 2006)
New Revision: 17002

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17002

Log:
Fix coverity #303 - possible null deref. Jerry please
check this is your new code.
Jeremy.

Modified:
   trunk/source/libads/kerberos.c


Changeset:
Modified: trunk/source/libads/kerberos.c
===================================================================
--- trunk/source/libads/kerberos.c	2006-07-12 22:10:17 UTC (rev 17001)
+++ trunk/source/libads/kerberos.c	2006-07-13 00:11:20 UTC (rev 17002)
@@ -311,6 +311,7 @@
 	if ( !salt ) {
 		DEBUG(8,("kerberos_secrets_store_des_salt: deleting salt\n"));
 		secrets_delete( key );
+		return True;
 	}
 
 	DEBUG(3,("kerberos_secrets_store_des_salt: Storing salt \"%s\"\n", salt));



More information about the samba-cvs mailing list