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)
commitc1284b8eb8585f05a49866d2f93d25f5665b5cf8
treea692143bbe945ebdf26535ef89f8fa743c597ee8
parent4fab9cf625278dd032a808b5c1bb8f2aec1bd0f2
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.
(This used to be commit 9ed3046633b6949c68c9aed61b8e9444601cf101)
source3/winbindd/winbindd_pam.c