1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

fixed RAW-READ after the bufinfo changes. Thanks to Metze for spotting

this.
(This used to be commit 3c9973b695)
This commit is contained in:
Andrew Tridgell 2008-02-16 13:28:37 +11:00
parent 10e2530eed
commit afe8e5551e

View File

@ -171,6 +171,9 @@ NTSTATUS smb_raw_read_recv(struct smbcli_request *req, union smb_read *parms)
parms->readx.out.nread <=
req->in.buffer + req->in.size) {
req->in.data_size += (SVAL(req->in.vwv, VWV(7)) << 16);
/* update the bufinfo with the new size */
smb_setup_bufinfo(req);
}
}