mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
s3: Fix a segfault in winbindd_dual_ccache_ntlm_auth()
ntlmssp_update allocates the reply_blob as a child of ntlmssp_state. This means with ntlmss_end() it will be gone. winbindd_dual_ccache_ntlm_auth used the blob after the ntlmssp_end().
This commit is contained in:
@ -116,7 +116,7 @@ static NTSTATUS do_ntlm_auth_with_hashes(const char *username,
|
||||
data_blob_free(&reply);
|
||||
goto done;
|
||||
}
|
||||
*auth_msg = reply;
|
||||
*auth_msg = data_blob(reply.data, reply.length);
|
||||
status = NT_STATUS_OK;
|
||||
|
||||
done:
|
||||
|
Reference in New Issue
Block a user