<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Use of a pointer after it is freed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91206">91206</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Use of a pointer after it is freed
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jain.arpit@samsung.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>OVERVIEW:
Use of a pointer after it is freed.
DESCRIPTION:
In function 'draw' at line 76 in following file:
<a href="http://cgit.freedesktop.org/cairo/tree/test/bitmap-font.c">http://cgit.freedesktop.org/cairo/tree/test/bitmap-font.c</a>
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",
filename,
cairo_status_to_string (status));
EXPECTED:
The pointer 'filename' should not be used once it is freed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>