Date: Fri Mar 12 14:37:37 2004 Author: ab Update of /home/cvs/samba/source/client In directory dp.samba.org:/tmp/cvs-serv12689/client
Modified Files: Tag: SAMBA_3_0 client.c Log Message: 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. Revisions: client.c 1.209.2.52 => 1.209.2.53 http://www.samba.org/cgi-bin/cvsweb/samba/source/client/client.c.diff?r1=1.209.2.52&r2=1.209.2.53