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

Revert "Protect against short read&x replies"

This reverts commit 4ed73cbbbeff4b554cc8d28252b756241396b3a1.

... how did this end up here??

Volker
(This used to be commit 7dd9fd0956bd1c46105d1072c4774972933ab9ec)
This commit is contained in:
Volker Lendecke 2008-08-23 15:40:43 +02:00
parent 56cd17dfe1
commit 1924e7931c

View File

@ -138,10 +138,6 @@ NTSTATUS cli_read_andx_recv(struct async_req *req, ssize_t *received,
return status;
}
if (wct < 12) {
return NT_STATUS_INVALID_NETWORK_RESPONSE;
}
/* size is the number of bytes the server returned.
* Might be zero. */
size = SVAL(cli_req->inbuf, smb_vwv5);