windows-nls-zero-length-input-20080716
authorAsanka Herath <asanka@secure-endpoints.com>
Wed, 16 Jul 2008 16:22:31 +0000 (16:22 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 16 Jul 2008 16:22:31 +0000 (16:22 +0000)
commit24ac19c606f28642d0ea5f339a7d0eb0a2526b96
tree5bfe749907ab76af01cd467e1333f9b1c9b3deae
parent6a749b71f7908129189ef10019372edc5b400c61
windows-nls-zero-length-input-20080716

LICENSE MIT

If the input to the string conversion files is zero length
return nul string instead of NULL.

Pass in -1 instead of computing the strlen.
src/WINNT/afsd/cm_nls.c
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb.c