s3:librpc/ndr: use new strlen_m_ext_term() in ndr_charset_length(): fix bug #7594
authorMichael Adam <obnox@samba.org>
Sun, 31 Oct 2010 00:04:25 +0000 (02:04 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 5 Mar 2011 13:34:31 +0000 (14:34 +0100)
commit43bbd23e628a0bcd17b7a37301a9af7e5f89d1b2
tree31cfdd5604aa47e328debf77f03fb14627975bcc
parent3065a29ca6fb5dfb83f0fd272ebae15fca9cb5ea
s3:librpc/ndr: use new strlen_m_ext_term() in ndr_charset_length(): fix bug #7594

This fixes the calculation of needed space for destination unicode charset.

The last 4 patches address bug #7594 ("wbinfo -u" and "wbinfo -g" gives no
output (log=>ndr_pull_error)).
(cherry picked from commit 8e46bff8b88103f4a5b0d3920ab6e3901decaf22)
source3/librpc/ndr/ndr_string.c