s3:smbd/seal: pass talloc_tos() auth_ntlmssp_update(), because we free a few lines...
[ira/wip.git] / source3 / smbd / seal.c
index b19c9ede3d9937c1ba6b43874ccf6d99325983f6..f68b6c7a8fa650fd7170004276f3f892d08dfcd4 100644 (file)
@@ -489,7 +489,7 @@ static NTSTATUS srv_enc_ntlm_negotiate(const struct tsocket_address *remote_addr
        }
 
        status = auth_ntlmssp_update(partial_srv_trans_enc_ctx->auth_ntlmssp_state,
-                                    partial_srv_trans_enc_ctx->auth_ntlmssp_state,
+                                    talloc_tos(),
                                     secblob, &chal);
 
        /* status here should be NT_STATUS_MORE_PROCESSING_REQUIRED