mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 16:43:38 +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 a new issue