summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/reply.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/reply.c b/source4/smb_server/reply.c
index 99291d0134..fbf683e381 100644
--- a/source4/smb_server/reply.c
+++ b/source4/smb_server/reply.c
@@ -890,6 +890,7 @@ void reply_read_and_X(struct smbsrv_request *req)
io->readx.in.offset = IVAL(req->in.vwv, VWV(3));
io->readx.in.maxcnt = SVAL(req->in.vwv, VWV(5));
io->readx.in.mincnt = SVAL(req->in.vwv, VWV(6));
+ io->readx.in.maxcnt |= IVAL(req->in.vwv, VWV(7)) << 16;
io->readx.in.remaining = SVAL(req->in.vwv, VWV(9));
/* the 64 bit variant */