summaryrefslogtreecommitdiff
path: root/source3/libsmb/clireadwrite.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-10 11:02:02 +0200
committerJeremy Allison <jra@samba.org>2011-09-14 12:37:02 -0700
commitf8c26c16b82989e002b839fc9eba6386fc036f6a (patch)
tree4f30c0b2fc79ece16e2ab41ab597c99ec7b883c6 /source3/libsmb/clireadwrite.c
parent555c626af83a2dc7bc81f012dd93d73045a3428f (diff)
downloadsamba-f8c26c16b82989e002b839fc9eba6386fc036f6a.tar.gz
samba-f8c26c16b82989e002b839fc9eba6386fc036f6a.tar.bz2
samba-f8c26c16b82989e002b839fc9eba6386fc036f6a.zip
s3:smbd: SMB ReadX with size > 0xffff should only possible for samba clients.
Windows 2008 R2 (and others) ignore the high bits for the read size. Unless we're using the unix extentions and the client uses CIFS_UNIX_LARGE_READ_CAP, we should also ignore the high bits. But we still need to support old "smbclient" binaries and have to check if the client is "Samba". metze Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/clireadwrite.c')
0 files changed, 0 insertions, 0 deletions