http://bugs.winehq.org/show_bug.cgi?id=28703
Bug #: 28703 Summary: gdiplus/tests/image.ok: valgrind complains "Uninitialised value created by a stack allocation at test_GdipCreateBitmapFromHBITMAP" Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
While running "make image.ok" in gdiplus/tests, valgrind complains:
Conditional jump or move depends on uninitialised value(s) at bitmapinfo_from_user_bitmapinfo (gdi_private.h:510) by CreateDIBSection (dib.c:1344) by test_GdipCreateBitmapFromHBITMAP (image.c:890) by func_image (image.c:2578) by run_test (test.h:556) by main (test.h:624) Uninitialised value was created by a stack allocation at test_GdipCreateBitmapFromHBITMAP (image.c:835)
Should the test be setting biClrUsed? Should one have to do that when dealing with truecolor bitmaps?
http://bugs.winehq.org/show_bug.cgi?id=28703
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Austin English austinenglish@gmail.com 2012-09-26 15:07:00 CDT --- Fine in wine-1.5.13-346-g0445393
http://bugs.winehq.org/show_bug.cgi?id=28703
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2012-09-28 13:44:05 CDT --- Closing bugs fixed in 1.5.14.