r13131: windows sends termination here, this fixes access with regedit
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Jan 2006 12:54:30 +0000 (12:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:28 +0000 (13:51 -0500)
metze

source/librpc/idl/winreg.idl

index d0da5fcc24846a47b23cc7a7384df987f4fed0d8..3c65cd7b6a41933390a58d259650c071fdb4590b 100644 (file)
        );
 
        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 */