From 21a434d817895ab228d09fcf0efe83246d97fcca Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 20 Oct 2011 16:40:14 +0200 Subject: s3:smbd/seal: pass talloc_tos() auth_ntlmssp_update(), because we free a few lines later metze --- source3/smbd/seal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c index b19c9ede3d..f68b6c7a8f 100644 --- a/source3/smbd/seal.c +++ b/source3/smbd/seal.c @@ -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 -- cgit