summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-01-23 09:57:50 -0800
committerJeremy Allison <jra@samba.org>2013-01-24 21:01:51 +0100
commit996a10cdea4a1ea23bc86c8bc57c4ca02e285b17 (patch)
tree03083c16870228d2ba64963481d71d57f61b4343 /source3/lib/util.c
parent033197958ec97140d5632ab875f24350257963dd (diff)
downloadsamba-996a10cdea4a1ea23bc86c8bc57c4ca02e285b17.tar.gz
samba-996a10cdea4a1ea23bc86c8bc57c4ca02e285b17.tar.bz2
samba-996a10cdea4a1ea23bc86c8bc57c4ca02e285b17.zip
Fix bug #9572 - File corruption during SMB1 read by Mac OSX 10.8.2 clients.
Accept a large read if we told the client we have UNIX extensions and the client sent a non-zero upper 16-bit size. Do the non-zero upper 16-bit size check first to save a function call in what is a hot path. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jan 24 21:01:51 CET 2013 on sn-devel-104
Diffstat (limited to 'source3/lib/util.c')
0 files changed, 0 insertions, 0 deletions