diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-04 09:07:24 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-04 09:10:20 +0200 |
commit | e8f486883fb13c1e5bb9cb63196f798370b4abb8 (patch) | |
tree | f29c3f5321c150730a4a0f6583aa0d71ccbb8c96 | |
parent | 764f2f99e0a5df0112031bc6f13f8d752a6a302d (diff) | |
download | samba-e8f486883fb13c1e5bb9cb63196f798370b4abb8.tar.gz samba-e8f486883fb13c1e5bb9cb63196f798370b4abb8.tar.bz2 samba-e8f486883fb13c1e5bb9cb63196f798370b4abb8.zip |
auth/ntlmssp: avoid talloc_tos() in ntlmssp_client_initial()
This avoids a smb_panic at log level = 10.
If we don't have a talloc stackframe yet.
metze
-rw-r--r-- | auth/ntlmssp/ntlmssp_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/ntlmssp/ntlmssp_client.c b/auth/ntlmssp/ntlmssp_client.c index f51a1ed2a5..fc66a8d8e3 100644 --- a/auth/ntlmssp/ntlmssp_client.c +++ b/auth/ntlmssp/ntlmssp_client.c @@ -96,7 +96,7 @@ NTSTATUS ntlmssp_client_initial(struct gensec_security *gensec_security, if (DEBUGLEVEL >= 10) { struct NEGOTIATE_MESSAGE *negotiate = talloc( - talloc_tos(), struct NEGOTIATE_MESSAGE); + ntlmssp_state, struct NEGOTIATE_MESSAGE); if (negotiate != NULL) { status = ntlmssp_pull_NEGOTIATE_MESSAGE( out, negotiate, negotiate); |