CVS update: samba/source/smbd
abartlet at samba.org
abartlet at samba.org
Sun Jul 27 12:28:25 EST 2003
Date: Sun Jul 27 02:28:25 2003
Author: abartlet
Update of /home/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv32597/smbd
Modified Files:
Tag: SAMBA_3_0
mangle_hash.c
Log Message:
Some small fixes to our charset conversion code:
- Treat the NMB names in the 'session request' packet as 'ASCII'. This means
that we do not get invalid multibyte from the wire, even if we truncate
in the conversion. (Otherwise we panic when we try to strupper_m it).
- Remove acnv_uxu2(), as it was duplicated by push_ucs2_allocate()
- Remove acnv_dosu2(), as it is not used.
- In push_ucs2(), with the STR_UPPER flag, do the case conversion *after*
the UCS2 conversion, when it we know that the length can't change. Also
faster, as we don't need to do another 2 UCS2 conversions.
Andrew Bartlett
Revisions:
mangle_hash.c 1.1.2.7 => 1.1.2.8
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/mangle_hash.c.diff?r1=1.1.2.7&r2=1.1.2.8
More information about the samba-cvs
mailing list