[cairo-bugs] [Bug 47605] Segfault on cairo_surface_destroy()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 20 12:17:23 PDT 2012


Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> 2012-03-20 12:17:23 PDT ---
commit 86a89a8c1de88f279b306ac8e3461773895aa7a2
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Mar 20 19:14:28 2012 +0000

    win32: Check for damage before blitting

    During the surface flush, we reduce any pending damage and then blit. If
    no damage had been accrued then the damage->region would be NULL leading
    to a segfault.

    Patch suggested by Szuromi Gábor.

    Reported-by: Szuromi Gábor <kukkerman at gmail.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47605
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

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

More information about the cairo-bugs mailing list