1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r24501: Added bcc test for reply_tcon & removed Vl's comment :-).

Jeremy.
(This used to be commit 9d9ed41f2139051578c35f80112640cffb5f7608)
This commit is contained in:
Jeremy Allison 2007-08-17 01:55:58 +00:00 committed by Gerald (Jerry) Carter
parent a662a62e5a
commit 891fa216ea

View File

@ -442,12 +442,11 @@ void reply_tcon(connection_struct *conn, struct smb_request *req)
START_PROFILE(SMBtcon);
/********************************************************************
* Warning! I'm not sure that the inbuf length check is actually
* correct here. -- vl
*
* Jeremy, please check and remove this comment :-)
********************************************************************/
if (smb_buflen(req->inbuf) < 4) {
reply_nterror(req, NT_STATUS_INVALID_PARAMETER);
END_PROFILE(SMBtcon);
return;
}
p = smb_buf(req->inbuf)+1;
p += srvstr_pull_buf_talloc(req, req->inbuf, req->flags2,