diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-26 06:19:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:45 -0500 |
commit | 8962ec3a6850a1c3b2d9d290c3cfb7141bfdd200 (patch) | |
tree | 7fb292e635abdb068afd2169b78cb956894a95ea /source4/smb_server | |
parent | 2b5b46389250ea5224a5bb2eb925a1b8e66effb8 (diff) | |
download | samba-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/smb_server')
-rw-r--r-- | source4/smb_server/reply.c | 1 |
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 */ |