]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-nls-zero-length-input-20080716 openafs-devel-1_5_50
authorAsanka Herath <asanka@secure-endpoints.com>
Wed, 16 Jul 2008 16:23:46 +0000 (16:23 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 16 Jul 2008 16:23:46 +0000 (16:23 +0000)
commit38ca69da9fd52228f7fd4a7f32027146885efa33
treecadc8531257b9a4e1077e412ae167da191f6e644
parent26bf3b88ab7b7868bb64d196fe3ac711335ba3d3
DEVEL15-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.

(cherry picked from commit 24ac19c606f28642d0ea5f339a7d0eb0a2526b96)
src/WINNT/afsd/cm_nls.c
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb.c