summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-26 06:19:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:45 -0500
commit8962ec3a6850a1c3b2d9d290c3cfb7141bfdd200 (patch)
tree7fb292e635abdb068afd2169b78cb956894a95ea /source4
parent2b5b46389250ea5224a5bb2eb925a1b8e66effb8 (diff)
downloadsamba-8962ec3a6850a1c3b2d9d290c3cfb7141bfdd200.tar.gz
samba-8962ec3a6850a1c3b2d9d290c3cfb7141bfdd200.tar.bz2
samba-8962ec3a6850a1c3b2d9d290c3cfb7141bfdd200.zip
r3243: read the high offset count in SMBreadx in the server
(This used to be commit 977bc87d18d2ea8c6967bd8c1b953b09fff9b434)
Diffstat (limited to 'source4')
-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 */