mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +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:
@ -171,6 +171,9 @@ NTSTATUS smb_raw_read_recv(struct smbcli_request *req, union smb_read *parms)
|
|||||||
parms->readx.out.nread <=
|
parms->readx.out.nread <=
|
||||||
req->in.buffer + req->in.size) {
|
req->in.buffer + req->in.size) {
|
||||||
req->in.data_size += (SVAL(req->in.vwv, VWV(7)) << 16);
|
req->in.data_size += (SVAL(req->in.vwv, VWV(7)) << 16);
|
||||||
|
|
||||||
|
/* update the bufinfo with the new size */
|
||||||
|
smb_setup_bufinfo(req);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user