r17903: Fix null deref caught by Stanford checker. Don't
authorJeremy Allison <jra@samba.org>
Tue, 29 Aug 2006 01:25:57 +0000 (01:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:58 +0000 (11:38 -0500)
call ntlmssp_end on a null pointer ! (Doh !).
Jeremy.
(This used to be commit 7b53932b5190c78b2b483f36af95174fe38ed45e)

source3/utils/ntlm_auth.c

index 1bed7794da1f1a9b4a4efdf7ea5952eb75a78f61..813fccf6e421ec73620894f1df80906c1dfa3383 100644 (file)
@@ -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;
        }