mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r4382: check for bad tid in SMBtdis
This commit is contained in:
parent
9e27a83ac3
commit
44ca3f41cc
@ -1355,6 +1355,11 @@ void reply_tdis(struct smbsrv_request *req)
|
||||
{
|
||||
REQ_CHECK_WCT(req, 0);
|
||||
|
||||
if (req->tcon == NULL) {
|
||||
req_reply_error(req, NT_STATUS_INVALID_HANDLE);
|
||||
return;
|
||||
}
|
||||
|
||||
close_cnum(req->tcon);
|
||||
|
||||
/* construct reply */
|
||||
|
Loading…
Reference in New Issue
Block a user