s3-libndr: make sure ndr_pull_string_array() only inspects string termination flags.
authorGünther Deschner <gd@samba.org>
Thu, 13 May 2010 00:27:29 +0000 (02:27 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 14 May 2010 11:20:40 +0000 (13:20 +0200)
commitc94f1c16bd6fff25f582ecfa920513b9c9665629
treebd7a6f26cdd44a589bab9a125d36e8c283baf5a8
parentedecdab58f49481a2f9ef0ca59ef1407adba8e05
s3-libndr: make sure ndr_pull_string_array() only inspects string termination flags.

Otherwise the NOTERM case is not reachable for ascii strings (only utf16).

With this patch we now can have:
[flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name;

Guenther
source3/librpc/ndr/ndr_string.c