From 96ca571f42940b164de51fffc3980709c101a80a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 25 Jan 2006 12:54:30 +0000 Subject: r13131: windows sends termination here, this fixes access with regedit metze (This used to be commit 79293227d6186ba15177603ede2b8d8b33e16d3a) --- source4/librpc/idl/winreg.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl index d0da5fcc24..3c65cd7b6a 100644 --- a/source4/librpc/idl/winreg.idl +++ b/source4/librpc/idl/winreg.idl @@ -130,7 +130,7 @@ ); typedef struct { - [value(strlen_m(name)*2)] uint16 length; + [value(strlen_m_term(name)*2)] uint16 length; /* size cannot be auto-set by value() as it is the amount of space the server is allowed to use for this string in the reply, not its current size */ -- cgit