summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-25 12:54:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:28 -0500
commit96ca571f42940b164de51fffc3980709c101a80a (patch)
tree0d9f9a7803c07a96d4d0bff51b16061c7524d465 /source4
parent5497dfe64ad810a2a3fb22da6869d311894bfed0 (diff)
downloadsamba-96ca571f42940b164de51fffc3980709c101a80a.tar.gz
samba-96ca571f42940b164de51fffc3980709c101a80a.tar.bz2
samba-96ca571f42940b164de51fffc3980709c101a80a.zip
r13131: windows sends termination here, this fixes access with regedit
metze (This used to be commit 79293227d6186ba15177603ede2b8d8b33e16d3a)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/winreg.idl2
1 files changed, 1 insertions, 1 deletions
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 */