diff options
author | Andreas Schneider <asn@samba.org> | 2010-08-02 18:32:40 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-08-02 18:33:36 +0200 |
commit | b6e9d8d406974ec2f4593fd0147113fe86b883f9 (patch) | |
tree | 2815b4140df5ca30afd71a41ed867ae8b025d5b4 /librpc/idl/winreg.idl | |
parent | 31782e52955f4f9301611a1e94b52b880f2ae302 (diff) | |
download | samba-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.idl | 2 |
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 ); |