DEVEL15-DELTA15-windows-handle-invalid-utf16-names-20081019
authorAsanka Herath <asanka@secure-endpoints.com>
Mon, 20 Oct 2008 00:19:33 +0000 (00:19 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 20 Oct 2008 00:19:33 +0000 (00:19 +0000)
commit3e1f1dcc1e8ece2d876fe3d9e0e5470e3d646f60
tree1840cb60106a5cab306b7710fbbc418cd9c8c271
parent82cc68dabb79abbd0207d3e74ad59a369347be4f
DEVEL15-DELTA15-windows-handle-invalid-utf16-names-20081019

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.
src/WINNT/afsd/cm_btree.c
src/WINNT/afsd/cm_dir.c
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_nls.c
src/WINNT/afsd/cm_nls.h
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/cm_volstat.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb3.c