diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-08-05 20:23:12 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-08-05 20:24:01 +1000 |
commit | 3854b5e6146ff8efeb4379a502bb083cbaa05ce4 (patch) | |
tree | ef46deaa2dadf39bba7b9da8a181520b3ac52db9 /source3/lib | |
parent | 67b6f5784ae8d2e5c5b783b24a4b0ff555a28d44 (diff) | |
download | samba-3854b5e6146ff8efeb4379a502bb083cbaa05ce4.tar.gz samba-3854b5e6146ff8efeb4379a502bb083cbaa05ce4.tar.bz2 samba-3854b5e6146ff8efeb4379a502bb083cbaa05ce4.zip |
changed BCC handling for SMBwriteX to handle broken MacOSX client
see bug #6610
The MacOSX SMB client sets the BCC value in SMBwriteX calls to zero
instead of the correct size. Checking against WindowsXP, I've found
that Windows uses the maximum of the computed buffer size and the
given BCC value. I've changed Samba4 to do the same to allow MacOSX to
work.
I've limited this change to non-chained packets to ensure we don't get
the possibility of exploits based on overlapping chained requests
Diffstat (limited to 'source3/lib')
0 files changed, 0 insertions, 0 deletions