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