[cairo-bugs] [Bug 18322] New: bug in _cairo_directfb_surface_release_source_image function

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 31 01:12:21 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18322

           Summary: bug in _cairo_directfb_surface_release_source_image
                    function
           Product: cairo
           Version: 1.8.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: haithem.rahmani at gmail.com
         QAContact: cairo-bugs at cairographics.org


Hi Carl,

The function uses a variable "surface" without declaring it.

    D_DEBUG_AT (CairoDFB_Acquire,
                "%s( surface=%p ).\n", __FUNCTION__, surface);

which leads to a failure when compiling for cairo/directfb.

The fix, exists already in the 1.8.0, just to add:

 cairo_directfb_surface_t *surface = abstract_surface;

regards.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list