oleaut32: tests/usrmarshal.c: initialize reserved fields to unique values
Dan Kegel
dank at kegel.com
Sun Jun 8 18:27:04 CDT 2008
This strengthens the marshaling test a tad.
Tested on XP and Wine.
Fixes numerous valgrind warnings like
Conditional jump or move depends on uninitialised value(s)
at winetest_ok (test.h:269)
by check_variant_header (usrmarshal.c:487)
by test_marshal_VARIANT (usrmarshal.c:544)
by func_usrmarshal (usrmarshal.c:1282)
by run_test (test.h:421)
by main (test.h:470)
Uninitialised value was created by a stack allocation
at test_marshal_VARIANT (usrmarshal.c:501)
and
Conditional jump or move depends on uninitialised value(s)
at bcmp (mc_replace_strmem.c:442)
by test_marshal_VARIANT (usrmarshal.c:905)
by func_usrmarshal (usrmarshal.c:1282)
by run_test (test.h:421)
by main (test.h:470)
Uninitialised value was created by a stack allocation
at test_marshal_VARIANT (usrmarshal.c:501)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oleaut32-usrmarshal.patch
Type: text/x-diff
Size: 1717 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080608/eb20d9c1/attachment-0001.patch
More information about the wine-patches
mailing list