svn commit: samba r17003 - in branches/SAMBA_3_0/source/libads: .

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


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

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

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

Modified:
   branches/SAMBA_3_0/source/libads/kerberos.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/kerberos.c
===================================================================
--- branches/SAMBA_3_0/source/libads/kerberos.c	2006-07-13 00:11:20 UTC (rev 17002)
+++ branches/SAMBA_3_0/source/libads/kerberos.c	2006-07-13 00:11:34 UTC (rev 17003)
@@ -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