[Bug 28703] New: gdiplus/tests/image.ok: valgrind complains "Uninitialised value created by a stack allocation at test_GdipCreateBitmapFromHBITMAP"

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 13 14:12:30 CDT 2011


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 at winehq.org
        ReportedBy: dank at 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?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list