[Xcb] [Bug 30737] New: Return value of malloc not checked in some places.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 9 10:17:15 PDT 2010


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

           Summary: Return value of malloc not checked in some places.
           Product: XCB
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: low
         Component: Utils
        AssignedTo: xcb at lists.freedesktop.org
        ReportedBy: jp.sittingduck at gmail.com
         QAContact: xcb at lists.freedesktop.org


Created an attachment (id=39311)
 View: https://bugs.freedesktop.org/attachment.cgi?id=39311
 Review: https://bugs.freedesktop.org/review?bug=30737&attachment=39311

Check for malloc failure in two places.

In xcb_key_symbols_alloc and xcb_render_util_composite_text_stream, malloc is
called without checking that it returned non-NULL. The pointer is then used
immediately afterwards.

-- 
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 Xcb mailing list