summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-08-29 01:25:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:58 -0500
commit364cb7f71a70d037e3a75bd448b030b6db40bfbe (patch)
tree0f549ba38071e958bda3bc0d26229075a223c587
parented132d87ced2f9b09eb0b81ac1aa29b4a5e29eb8 (diff)
downloadsamba-364cb7f71a70d037e3a75bd448b030b6db40bfbe.tar.gz
samba-364cb7f71a70d037e3a75bd448b030b6db40bfbe.tar.bz2
samba-364cb7f71a70d037e3a75bd448b030b6db40bfbe.zip
r17903: Fix null deref caught by Stanford checker. Don't
call ntlmssp_end on a null pointer ! (Doh !). Jeremy. (This used to be commit 7b53932b5190c78b2b483f36af95174fe38ed45e)
-rw-r--r--source3/utils/ntlm_auth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 1bed7794da..813fccf6e4 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -1344,7 +1344,6 @@ static void manage_client_ntlmssp_targ(SPNEGO_DATA spnego)
if (client_ntlmssp_state == NULL) {
DEBUG(1, ("Got NTLMSSP tArg without a client state\n"));
x_fprintf(x_stdout, "BH\n");
- ntlmssp_end(&client_ntlmssp_state);
return;
}