CVS update: samba/source/smbd

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


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

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

Modified Files:
      Tag: SAMBA_3_0
	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.48.2.13 => 1.48.2.14
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/filename.c.diff?r1=1.48.2.13&r2=1.48.2.14
vfs.c		1.57.2.23 => 1.57.2.24
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/vfs.c.diff?r1=1.57.2.23&r2=1.57.2.24


More information about the samba-cvs mailing list