pidl:Samba4/NDR/Client: correctly copy [out,charset()] buffers
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Aug 2010 09:07:29 +0000 (11:07 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 28 Aug 2010 08:59:19 +0000 (10:59 +0200)
commitaa3b75ad1fa60dbf1ea3bd61782c59b39020b2e3
treede5c221a1a3f565476bf781a9d8e54c94deec67c
parenteeebaa63f1fe85fe9d58bad50920432263de84c0
pidl:Samba4/NDR/Client: correctly copy [out,charset()] buffers

If the conversion from CH_UTF16 to CH_UNIX uses multi-byte characters
in CH_UNIX, we should not silently truncate the string, but return
an error.

metze
pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm