CVS update: samba/source/smbd

jra at samba.org jra at samba.org
Fri Mar 5 01:37:25 GMT 2004


Date:	Fri Mar  5 01:37:25 2004
Author:	jra

Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv1770/smbd

Modified Files:
	filename.c vfs.c 
Log Message:
all_string_sub() is broken as it doesn't handle mb chars correctly (and
so breaks when substitution '/' and '\'). It's used by unix_clean_name(),
which is used by reduce_name, which is used by check_name() (phew!).
Now that we know all filenames passed to check_name() are in a "good"
format (no double slashes, all '\\' chars translated to '/' etc.) due
to the new check_path_syntax() we can avoid calling reduce_name unless
widelinks are denied. After this check-in I can fix all_string_sub() to
handle mb chars correctly as it won't be in the direct path in the
main path handling code.
Jeremy.


Revisions:
filename.c		1.62 => 1.63
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/filename.c.diff?r1=1.62&r2=1.63
vfs.c		1.84 => 1.85
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/vfs.c.diff?r1=1.84&r2=1.85


More information about the samba-cvs mailing list