OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sun, 19 Oct 2008 19:17:41 EDT


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/WINNT/afsd

Modified Files:
	cm_btree.c cm_dir.c cm_ioctl.c cm_nls.c cm_nls.h cm_vnodeops.c 
	cm_volstat.c smb.c smb3.c 
Log Message:
DELTA windows-handle-invalid-utf16-names-20081019
AUTHOR asanka@secure-endpoints.com
LICENSE MIT
FIXES 116641

Windows will deliver to OpenAFS UTF16 strings that are not valid Unicode
and cannot be converted to UTF8.  Return bad file name errors in those
cases. 

Make sure all file server strings once converted to UTF16 can be converted
back.  If not, escape the invalid portions of the string so that the 
file can be accessed.



--- DELTA config follows ---
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/cm_btree.c 1.20 1.21
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/cm_dir.c 1.24 1.25
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/cm_ioctl.c 1.136 1.137
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/cm_nls.c 1.6 1.7
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/cm_nls.h 1.3 1.4
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/cm_vnodeops.c 1.160 1.161
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/cm_volstat.c 1.6 1.7
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/smb.c 1.224 1.225
windows-handle-invalid-utf16-names-20081019 openafs/src/WINNT/afsd/smb3.c 1.177 1.178