[Nouveau] [Bug 70511] nouveau_bo_name_get segmentation fault while running root tutorials/gl/glbox.C

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 13 09:28:55 PDT 2014


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

--- Comment #1 from Vittorio <zeccav at gmail.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140713/d15204f4/attachment-0001.html>


More information about the Nouveau mailing list