ntdll: tests/env.c: Initialize buffers to size tested in memcmp in testQuery
Zac Brown
zac at zacbrown.org
Wed Jun 18 19:32:53 CDT 2008
Initialize buffers to size tested in memcmp for each iteration of loop in testQuery.
Fixes valgrind errors like:
Conditional jump or move depends on uninitialised value(s)
at testQuery (env.c:110)
by func_env (env.c:287)
by run_test (test.h:449)
by main (test.h:498)
Uninitialised value was created by a stack allocation
at testQuery (env.c:53)
-Zac Brown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntdll-env-vg.patch
Type: text/x-patch
Size: 622 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080618/214844f5/attachment.bin
More information about the wine-patches
mailing list