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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 30 23:20:30 PST 2014


            Bug ID: 87893
           Summary: use of an uninitialized variable in error path
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xlib backend
          Assignee: chris at chris-wilson.co.uk
          Reporter: sixtysix at inwind.it
        QA Contact: cairo-bugs at cairographics.org

in _cairo_xlib_font_fini


when _cairo_xlib_display_acquire does not return SUCCESS,
'display' is not initialized:


so after BAIL: it is better to use priv->device and not


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/20141231/0fdace91/attachment.html>

More information about the cairo-bugs mailing list