r25273: unistrX_to_ascii calls pull_ucs2 - ensure it's never
authorJeremy Allison <jra@samba.org>
Fri, 21 Sep 2007 09:58:36 +0000 (09:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:56 +0000 (12:30 -0500)
commit9ed3046633b6949c68c9aed61b8e9444601cf101
treeafe3c87ac60c220dc377792c6a91b00403260b0a
parenta4f53fe22569a63fe7b196971ac6c28a676ee4e8
r25273: unistrX_to_ascii calls pull_ucs2 - ensure it's never
called with -1 (these calls were wrong anyway, target
was an fstring, not a pstring). Found by  Michael Adam <ma@sernet.de>,
now to check all other uses.
Michael - this version uses sizeof(target) not sizeof(fstring).
This way is more future proof.
Jeremy.
source/winbindd/winbindd_pam.c