https://bugs.winehq.org/show_bug.cgi?id=38458
Bug ID: 38458 Summary: valgrind shows an uninitialized variable in dlls/d3d9/tests/visual.c yuv_color_test() Product: Wine Version: 1.7.41 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Debian
==29750== Conditional jump or move depends on uninitialised value(s) ==29750== at 0x402DBE9: bcmp (vg_replace_strmem.c:1005) ==29750== by 0x49A3B5D: arbfp_blit_type_compare (arb_program_shader.c:6934) ==29750== by 0x498FD17: wine_rb_get (rbtree.h:241) ==29750== by 0x49A5F9D: arbfp_blit_set (arb_program_shader.c:7719) ==29750== by 0x49A704B: arbfp_blit_surface (arb_program_shader.c:7909) ==29750== by 0x4A6750A: wined3d_surface_blt (surface.c:5373) ==29750== by 0x494C60D: d3d9_device_StretchRect (device.c:1289) ==29750== by 0x48E5FAC: yuv_color_test (visual.c:11216) ==29750== by 0x4906608: func_visual (visual.c:18026) ==29750== by 0x4907463: run_test (test.h:584) ==29750== by 0x490789D: main (test.h:666) ==29750== Uninitialised value was created by a stack allocation ==29750== at 0x49A5D86: arbfp_blit_set (arb_program_shader.c:7673) ==29750==
https://bugs.winehq.org/show_bug.cgi?id=38458
--- Comment #1 from Henri Verbeet hverbeet@gmail.com --- Created attachment 51303 --> https://bugs.winehq.org/attachment.cgi?id=51303 patch
Does the attached patch help?
https://bugs.winehq.org/show_bug.cgi?id=38458
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Henri Verbeet from comment #1)
Created attachment 51303 [details] patch
Does the attached patch help?
Yes, thanks.
https://bugs.winehq.org/show_bug.cgi?id=38458
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8063d4cfcc31bc72ae13e43abd0 | |121a031e61fac Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to Henri Verbeet from comment #1)
Created attachment 51303 [details] patch
Does the attached patch help?
https://source.winehq.org/git/wine.git/commitdiff/8063d4cfcc31bc72ae13e43abd...
https://bugs.winehq.org/show_bug.cgi?id=38458
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.42.