summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-20 16:40:14 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-21 08:43:01 +0200
commit21a434d817895ab228d09fcf0efe83246d97fcca (patch)
tree80ff9d57f51e5dc2196cf361198b122c08aeef66
parent07f67d8612ca547975a153b8291b077e68058a8a (diff)
downloadsamba-21a434d817895ab228d09fcf0efe83246d97fcca.tar.gz
samba-21a434d817895ab228d09fcf0efe83246d97fcca.tar.bz2
samba-21a434d817895ab228d09fcf0efe83246d97fcca.zip
s3:smbd/seal: pass talloc_tos() auth_ntlmssp_update(), because we free a few lines later
metze
-rw-r--r--source3/smbd/seal.c2
1 files changed, 1 insertions, 1 deletions
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