1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings

metze
(This used to be commit bdd8d9ebdf184ee3e23a8de92fa4dec7123a8824)
This commit is contained in:
Stefan Metzmacher 2008-02-19 14:44:50 +01:00
parent b617f58cc3
commit 7a3f15ff8a

View 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;