summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-07-13 00:11:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:17 -0500
commitde5d9675052e311290211ce3656bb050497ae8cf (patch)
treea4eff76de158150d58b1f078ae9e74fdc04620fc /source3/libads
parent75a2f4dbc895f4f43564941a8478257f4e75ea22 (diff)
downloadsamba-de5d9675052e311290211ce3656bb050497ae8cf.tar.gz
samba-de5d9675052e311290211ce3656bb050497ae8cf.tar.bz2
samba-de5d9675052e311290211ce3656bb050497ae8cf.zip
r17003: Fix coverity #303 - possible null deref. Jerry please
check this is your new code. Jeremy. (This used to be commit 144067783d1c56b574911532f074bdaa7cea9c6e)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos.c1
1 files changed, 1 insertions, 0 deletions
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));