mirror of
https://github.com/samba-team/samba.git
synced 2025-11-02 20:23:50 +03:00
r5193: make sure we mark the event dead when we free it on a dead connection
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
5f40ff0f55
commit
90535bab95
@@ -663,6 +663,7 @@ static void smbsrv_recv(struct stream_connection *conn, struct timeval t, uint16
|
||||
status = receive_smb_request(smb_conn, t);
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
talloc_free(conn->event.fde);
|
||||
conn->event.fde = NULL;
|
||||
smbsrv_terminate_connection(smb_conn, nt_errstr(status));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user