From aa42dd6269303ce771b1482c0ee00b8e43c9e610 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 23 Nov 2003 06:29:11 +0000 Subject: Strings in the winreg pipe are terminated. (This used to be commit 1f56d4cd04840b350b098e698d369cd6b047cfe4) --- source4/librpc/idl/winreg.idl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl index aa7ead797b..c7dc3942df 100644 --- a/source4/librpc/idl/winreg.idl +++ b/source4/librpc/idl/winreg.idl @@ -10,9 +10,9 @@ ] interface winreg { typedef struct { - [value(2*strlen_m(r->name))] uint16 name_len; - [value(r->name_len)] uint16 name_size; - unistr_noterm *name; + [value(2*(strlen_m(r->name)+1))] uint16 name_len; + [value(r->name_len)] uint16 name_size; + unistr *name; } winreg_String; typedef struct { -- cgit