CVS update: samba/source/smbd
jra at samba.org
jra at samba.org
Thu Mar 11 00:31:50 GMT 2004
Date: Thu Mar 11 00:31:50 2004
Author: jra
Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv7730/smbd
Modified Files:
reply.c
Log Message:
Fix processing of pathnames with embedded '\\' characters (0x5c) in CP932
character set. Because of the allowing of "broken conversions" for people
who have broken iconv libraries we can't rely on the return from convert_string()
to be valid - we must check errno instead. This is ripe for revisiting at
some stage. I prefer adding a bool parameter to all convert_string_XX varients
to specify if we will allow broken conversions or not. With "allow_broken_conversions"
set to false we could then rely on the return from convert_string rather than
checking errno.
Jeremy.
Revisions:
reply.c 1.452 => 1.453
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/reply.c.diff?r1=1.452&r2=1.453
More information about the samba-cvs
mailing list