lib/util/charset Fix string termination conditions for UTF16 strings
authorAndrew Bartlett <abartlet@samba.org>
Thu, 14 Apr 2011 07:23:25 +0000 (17:23 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 Apr 2011 01:24:05 +0000 (03:24 +0200)
commit75d5ba4109801957eef590b601cce61a6e67064f
tree33897636244683badc1579dfffd5edfb62d22b8e
parent240465f96ef6eb44db35d8e62ff79d95c8a256d5
lib/util/charset Fix string termination conditions for UTF16 strings

This punts partial UTF16 strings to iconv() to deal with, as it's not
a fast path any longer if it's got an odd length.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
lib/util/charset/convert_string.c