mirror of
https://github.com/samba-team/samba.git
synced 2025-08-31 22:02:58 +03:00
Fix crash bug in check_sam_security() when make_server_info_sam() did a
talloc_steal and talloc_free on the sam account already. Guenther
This commit is contained in:
@ -352,7 +352,6 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
|
|||||||
|
|
||||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||||
DEBUG(0,("check_sam_security: make_server_info_sam() failed with '%s'\n", nt_errstr(nt_status)));
|
DEBUG(0,("check_sam_security: make_server_info_sam() failed with '%s'\n", nt_errstr(nt_status)));
|
||||||
TALLOC_FREE(sampass);
|
|
||||||
data_blob_free(&user_sess_key);
|
data_blob_free(&user_sess_key);
|
||||||
data_blob_free(&lm_sess_key);
|
data_blob_free(&lm_sess_key);
|
||||||
return nt_status;
|
return nt_status;
|
||||||
|
Reference in New Issue
Block a user