lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings
authorStefan Metzmacher <metze@samba.org>
Tue, 19 Feb 2008 13:44:50 +0000 (14:44 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 28 Feb 2008 22:30:07 +0000 (23:30 +0100)
metze
(This used to be commit d98ac73122d44f3a92531b4ebbe09401652b89c7)

source3/librpc/idl/lsa.idl

index 0079840366a10eaf68cf922919775bf1e0a7876b..a705306fdca355e1992d3d0bebf03ea1641dd265 100644 (file)
@@ -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;