[cairo-bugs] [Bug 91206] New: Use of a pointer after it is freed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 3 00:12:40 PDT 2015


            Bug ID: 91206
           Summary: Use of a pointer after it is freed
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: jain.arpit at samsung.com
        QA Contact: cairo-bugs at cairographics.org

Use of a pointer after it is freed.


In function 'draw' at line 76 in following file:


function 'free' frees the pointed 'filename'(at Line no. 97).

The pointer to freed memory 'filename' is dereferenced, used as a function
argument at line 108:

cairo_test_log (ctx, "Error creating font face for %s: %s\n",
            cairo_status_to_string (status));


The pointer 'filename' should not be used once it is freed.

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/20150703/19fdae76/attachment.html>

More information about the cairo-bugs mailing list