mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +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:
parent
098380760d
commit
dbc7237a8a
@ -352,7 +352,6 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
|
||||
|
||||
if (!NT_STATUS_IS_OK(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(&lm_sess_key);
|
||||
return nt_status;
|
||||
|
Loading…
x
Reference in New Issue
Block a user