git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd4e31
)
r3243: read the high offset count in SMBreadx in the server
author
Andrew Tridgell
<tridge@samba.org>
Tue, 26 Oct 2004 06:19:50 +0000
(06:19 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:04:45 +0000
(13:04 -0500)
source/smb_server/reply.c
patch
|
blob
|
history
diff --git
a/source/smb_server/reply.c
b/source/smb_server/reply.c
index 99291d013454244185dd52102d1157d7b4cfb9e0..fbf683e38126a5a70afa3749e2687531e69b7863 100644
(file)
--- a/
source/smb_server/reply.c
+++ b/
source/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 */