summaryrefslogtreecommitdiff
path: root/librpc/idl/winreg.idl
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-08-02 18:32:40 +0200
committerAndreas Schneider <asn@samba.org>2010-08-02 18:33:36 +0200
commitb6e9d8d406974ec2f4593fd0147113fe86b883f9 (patch)
tree2815b4140df5ca30afd71a41ed867ae8b025d5b4 /librpc/idl/winreg.idl
parent31782e52955f4f9301611a1e94b52b880f2ae302 (diff)
downloadsamba-b6e9d8d406974ec2f4593fd0147113fe86b883f9.tar.gz
samba-b6e9d8d406974ec2f4593fd0147113fe86b883f9.tar.bz2
samba-b6e9d8d406974ec2f4593fd0147113fe86b883f9.zip
idl: Fixed a possible crash bug.
Diffstat (limited to 'librpc/idl/winreg.idl')
-rw-r--r--librpc/idl/winreg.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/winreg.idl b/librpc/idl/winreg.idl
index c3e5279efa..48fddb709d 100644
--- a/librpc/idl/winreg.idl
+++ b/librpc/idl/winreg.idl
@@ -188,7 +188,7 @@ import "lsa.idl", "security.idl", "misc.idl";
[in] uint32 enum_index,
[in,out,ref] winreg_ValNameBuf *name,
[in,out,unique] winreg_Type *type,
- [in,out,unique,size_is(*size),length_is(*length)] uint8 *value,
+ [in,out,unique,size_is(size ? *size : 0),length_is(length ? *length : 0),range(0,0x4000000)] uint8 *value,
[in,out,unique] uint32 *size,
[in,out,unique] uint32 *length
);