rpcrt4: Initialise the array to be marshalled in test_conformant_array.

Rob Shearman robertshearman at gmail.com
Thu Jun 12 16:58:49 CDT 2008


---
 dlls/rpcrt4/tests/ndr_marshall.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Should fix the following and similar valgrind warnings:
 Conditional jump or move depends on uninitialised value(s)
    at  bcmp (mc_replace_strmem.c:442)
    by  test_conformant_array (ndr_marshall.c:1353)
    by  func_ndr_marshall (ndr_marshall.c:1827)
    by  run_test (test.h:421)
    by  main (test.h:470)
  Uninitialised value was created by a stack allocation
    at  test_conformant_array (ndr_marshall.c:1311)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6303b09576fa3c73c77752d8d5f05d5777b5bd13.diff
Type: text/x-patch
Size: 707 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080612/0d37919e/attachment-0001.bin 


More information about the wine-patches mailing list