mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
propsys: PropVariantClear does not clear on uninitialized values (Coverity).
This commit is contained in:
parent
d182a123d1
commit
1104678b40
@ -774,6 +774,11 @@ static void test_intconversions(void)
|
||||
ULONGLONG ullval;
|
||||
HRESULT hr;
|
||||
|
||||
propvar.vt = 0xdead;
|
||||
hr = PropVariantClear(&propvar);
|
||||
ok (FAILED(hr), "PropVariantClear fails on invalid vt.\n");
|
||||
|
||||
propvar.vt = VT_I8;
|
||||
PropVariantClear(&propvar);
|
||||
|
||||
propvar.vt = VT_I8;
|
||||
|
Loading…
Reference in New Issue
Block a user