summaryrefslogtreecommitdiff
path: root/source4/smb_server/blob.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-08-05 20:23:12 +1000
committerAndrew Tridgell <tridge@samba.org>2009-08-05 20:24:01 +1000
commit3854b5e6146ff8efeb4379a502bb083cbaa05ce4 (patch)
treeef46deaa2dadf39bba7b9da8a181520b3ac52db9 /source4/smb_server/blob.c
parent67b6f5784ae8d2e5c5b783b24a4b0ff555a28d44 (diff)
downloadsamba-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 'source4/smb_server/blob.c')
0 files changed, 0 insertions, 0 deletions