summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-19 14:44:50 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-19 15:58:55 +0100
commit7a3f15ff8a4b32c0a9f0114fc8208ddfcde796ce (patch)
tree0694c5ddd687858e70ed881c86d8cf26e880004b /source4
parentb617f58cc39ffb5e7f775b88887bcf9112b1ded1 (diff)
downloadsamba-7a3f15ff8a4b32c0a9f0114fc8208ddfcde796ce.tar.gz
samba-7a3f15ff8a4b32c0a9f0114fc8208ddfcde796ce.tar.bz2
samba-7a3f15ff8a4b32c0a9f0114fc8208ddfcde796ce.zip
lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings
metze (This used to be commit bdd8d9ebdf184ee3e23a8de92fa4dec7123a8824)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/lsa.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index bc5ccaa78a..64fb2336bb 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -23,7 +23,7 @@ import "security.idl";
typedef [public] struct {
[value(2*strlen_m(string))] uint16 length;
- [value(2*(strlen_m(string)+1))] uint16 size;
+ [value(2*strlen_m_term(string))] uint16 size;
[charset(UTF16),size_is(size/2),length_is(length/2)] uint16 *string;
} lsa_StringLarge;