<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - nouveau_bo_name_get segmentation fault while running root tutorials/gl/glbox.C"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70511#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - nouveau_bo_name_get segmentation fault while running root tutorials/gl/glbox.C"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70511">bug 70511</a>
from <span class="vcard"><a class="email" href="mailto:zeccav@gmail.com" title="Vittorio <zeccav@gmail.com>"> <span class="fn">Vittorio</span></a>
</span></b>
<pre>I believe this situation comes from a NULL pointer in nouveau_dri2.c:246
"r = nouveau_bo_name_get(nouveau_pixmap_bo(pixmap), &front->name);"
because nouveau_pixmap_bo returns a NULL pointer and
nouveau_bo_name_get dereferences it.
Should the caller update_front handle this one,
or the called nouveau_bo_name_get?
This is from xf86-video-nouveau-1.0.9.
Many codes provoke this bug, as in /usr/lib64/mesa/teapot.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>