Commit 1104678b authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

propsys: PropVariantClear does not clear on uninitialized values (Coverity).

parent d182a123
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment