mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
winreg: fix winreg_QueryValue IDL.
Note that before this change pidl generated code that just dereferenced size_is and length_is values from unique pointers without checking whether these pointers were actually NULL. With this change, pidl now throws a warning like: warning: Got pointer for `data_size', expected fully derefenced variable which is not correct, probably because pidl does not evaluate the C expression. Guenther
This commit is contained in:
parent
47d366b572
commit
f258e98e17
@ -256,7 +256,7 @@ import "lsa.idl", "security.idl", "misc.idl";
|
||||
[in,ref] policy_handle *handle,
|
||||
[in,ref] winreg_String *value_name,
|
||||
[in,out,unique] winreg_Type *type,
|
||||
[in,out,unique,size_is(*data_size),length_is(*data_length)] uint8 *data,
|
||||
[in,out,unique,size_is(data_size ? *data_size : 0),length_is(data_length ? *data_length : 0),range(0,0x4000000)] uint8 *data,
|
||||
[in,out,unique] uint32 *data_size,
|
||||
[in,out,unique] uint32 *data_length
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user