https://bugs.winehq.org/show_bug.cgi?id=36355
Bug ID: 36355 Summary: valgrind shows a couple uninitialized variables in ddraw/tests/dsurface.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
../../../tools/runtest -q -P wine -T ../../.. -M ddraw.dll -p ddraw_test.exe.so dsurface && touch dsurface.ok preloader: Warning: failed to reserve range 00110000-68000000 preloader: Warning: failed to reserve range 7f000000-82000000 fixme:win:EnumDisplayDevicesW ((null),0,0x50ff528,0x00000000), stub! ==8690== Conditional jump or move depends on uninitialised value(s) ==8690== at 0x4AAFD02: ddraw_surface_create (surface.c:5849) ==8690== by 0x4A854AF: ddraw1_CreateSurface (ddraw.c:2962) ==8690== by 0x4DB924E: SrcColorKey32BlitTest (dsurface.c:240) ==8690== by 0x4DC79D4: func_dsurface (dsurface.c:3949) ==8690== by 0x4DDD6DC: run_test (test.h:584) ==8690== by 0x4DDDACB: main (test.h:654) ==8690== Uninitialised value was created by a stack allocation ==8690== at 0x4DB9191: SrcColorKey32BlitTest (dsurface.c:217) ==8690==
==8690== Conditional jump or move depends on uninitialised value(s) ==8690== at 0x4AAFD02: ddraw_surface_create (surface.c:5849) ==8690== by 0x4A854AF: ddraw1_CreateSurface (ddraw.c:2962) ==8690== by 0x4DB8D44: PaletteTest (dsurface.c:2225) ==8690== by 0x4DC8FA4: func_dsurface (dsurface.c:3962) ==8690== by 0x4DDD6DC: run_test (test.h:584) ==8690== by 0x4DDDACB: main (test.h:654) ==8690== Uninitialised value was created by a stack allocation ==8690== at 0x4DB8627: PaletteTest (dsurface.c:2137) ==8690==