http://bugs.winehq.org/show_bug.cgi?id=28708
Bug #: 28708 Summary: gdiplus/tests/image.ok: test_fromhicon triggers reference of uninitialized variable from SetDIBits Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Running "make image.ok" in gdiplus/tests, Valgrind complains:
Conditional jump or move depends on uninitialised value(s) at colorref_to_pixel_colortable (primitives.c:1088) by convert_to_1 (primitives.c:2903) by convert_bitmapinfo (dc.c:293) by SetDIBits (dib.c:594) by nulldrv_StretchDIBits (dib.c:443) by StretchDIBits (dib.c:474) by stretch_blt_icon (cursoricon.c:2077) by CreateIconIndirect (cursoricon.c:2135) by test_fromhicon (image.c:1167) by func_image (image.c:2583) by run_test (test.h:556) by main (test.h:624) Uninitialised value was created by a stack allocation at SetDIBits (dib.c:503)