summaryrefslogtreecommitdiff
path: root/source3/msdfs/msdfs.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2004-03-12 14:37:37 +0000
committerAlexander Bokovoy <ab@samba.org>2004-03-12 14:37:37 +0000
commit6011a89e240ba8a51163baee51da98d2b32ab98c (patch)
tree1c1208b2cbc02c4b8a30a1d180e38d877cc0f7cd /source3/msdfs/msdfs.c
parent82053806f5fa66cfd47288997df7351284f6e096 (diff)
downloadsamba-6011a89e240ba8a51163baee51da98d2b32ab98c.tar.gz
samba-6011a89e240ba8a51163baee51da98d2b32ab98c.tar.bz2
samba-6011a89e240ba8a51163baee51da98d2b32ab98c.zip
Fix problems with very long filenames in both smbd and smbclient.
It appears that we pass filename through resolve_wildcards() as pstring and use fstring temporary buffer there. As result, a long filename in unix charset (UTF-8 by default) can easily expand over 255 bytes while Windows is able to send to us such names (e.g. Japanese name of ~190 mb chars) which we unable to process through this small fstring buffer. Tested with W2K and smbclient, Japanese and Cyrillics. (This used to be commit 83dac6571f99b854ac607d4313cc3f742c1fae2e)
Diffstat (limited to 'source3/msdfs/msdfs.c')
0 files changed, 0 insertions, 0 deletions