[cairo-bugs] [Bug 87893] use of an uninitialized variable in error path

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 6 14:30:41 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=87893

Bryce Harrington <b.harrington at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Bryce Harrington <b.harrington at samsung.com> ---
Thanks, fix pushed:

commit f6843d5cbb79c35f7b331ac31c4a55c9574928fc
Author: Arpit Jain <jain.arpit at samsung.com>
Date:   Mon Jul 6 14:13:06 2015 -0700

    xlib: Fix deferencing of uninitialised 'display'

    Initialising 'display' to NULL and checking before deferencing during
display->base.
    This patch will check the deferencing of uninitialised 'display' in case,
    _cairo_xlib_display_acquire does not return CAIRO_STATUS_SUCCESS.

    Fixes:  https://bugs.freedesktop.org/show_bug.cgi?id=87893
    Signed-off-by: Arpit Jain <jain.arpit at samsung.com>
    Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150706/7ca2659a/attachment.html>


More information about the cairo-bugs mailing list