mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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
This commit is contained in:
parent
764f2f99e0
commit
e8f486883f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user