rpcrt4/tests: Eliminate the test_simple_struct_marshal valgrind error.

Rob Shearman robertshearman at gmail.com
Mon Jun 16 14:20:24 CDT 2008


2008/6/16 Dan Hipschman <dsh at linux.ucla.edu>:
>
> Eliminates eight of these (and similar) from the ndr_marshall test:
>
>  Conditional jump or move depends on uninitialised value(s)
>    at 0x4AEF05E: test_simple_struct_marshal (ndr_marshall.c:668)
>    by 0x4AEFD91: test_simple_struct (ndr_marshall.c:889)
>    by 0x4AF6B9A: func_ndr_marshall (ndr_marshall.c:1829)
>    by 0x4B08FF2: run_test (test.h:449)
>    by 0x4B09332: __wine_spec_exe_entry (exe_entry.c:36)
>    by 0x7B870810: start_process (process.c:904)
>    by 0x47EE4B6: (within /usr/local/google/work/wine/libs/wine/libwine.so.1.0)
>
> The warning comes from memcmp-ing a struct with padding in it that is not
> initialized.

http://www.winehq.org/pipermail/wine-patches/2008-June/055831.html

-- 
Rob Shearman



More information about the wine-devel mailing list