diff options
author | Jeremy Allison <jra@samba.org> | 2013-01-23 09:57:50 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-01-24 21:01:51 +0100 |
commit | 996a10cdea4a1ea23bc86c8bc57c4ca02e285b17 (patch) | |
tree | 03083c16870228d2ba64963481d71d57f61b4343 /source4/ntptr | |
parent | 033197958ec97140d5632ab875f24350257963dd (diff) | |
download | samba-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 'source4/ntptr')
0 files changed, 0 insertions, 0 deletions