From de5d9675052e311290211ce3656bb050497ae8cf Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 13 Jul 2006 00:11:34 +0000 Subject: r17003: Fix coverity #303 - possible null deref. Jerry please check this is your new code. Jeremy. (This used to be commit 144067783d1c56b574911532f074bdaa7cea9c6e) --- source3/libads/kerberos.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/libads') diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index 9f197fb50c..af4ba86831 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -311,6 +311,7 @@ BOOL kerberos_secrets_store_des_salt( const char* salt ) 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)); -- cgit