summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-19 14:44:50 +0100
committerGünther Deschner <gd@samba.org>2008-02-28 23:30:07 +0100
commit364ce40643c44085c016c2d9ad8e1bb02edf6a8a (patch)
treeb3479c904abb50eaa9eacbccf3dde839b966b703 /source3/librpc
parent48bffb0f34d7ea3dd875094b33410fe048b61d4e (diff)
downloadsamba-364ce40643c44085c016c2d9ad8e1bb02edf6a8a.tar.gz
samba-364ce40643c44085c016c2d9ad8e1bb02edf6a8a.tar.bz2
samba-364ce40643c44085c016c2d9ad8e1bb02edf6a8a.zip
lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings
metze (This used to be commit d98ac73122d44f3a92531b4ebbe09401652b89c7)
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/lsa.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/idl/lsa.idl b/source3/librpc/idl/lsa.idl
index 0079840366..a705306fdc 100644
--- a/source3/librpc/idl/lsa.idl
+++ b/source3/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;