CVS update: samba/source/smbd

Alexander Bokovoy ab at samba.org
Fri Mar 12 14:28:14 GMT 2004


Date:	Fri Mar 12 14:28:14 2004
Author:	ab

Update of /home/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv10620/source/smbd

Modified Files:
	reply.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:
reply.c		1.454 => 1.455
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/reply.c.diff?r1=1.454&r2=1.455


More information about the samba-cvs mailing list