[Mesa-dev] [PATCH] st/mesa: add destroy_drawable interface

Emil Velikov emil.l.velikov at gmail.com
Fri Jul 21 15:05:01 UTC 2017


On 20 July 2017 at 19:26, Charmaine Lee <charmainel at vmware.com> wrote:
> With this patch, the st manager will maintain a hash table for
> the active framebuffer interface objects. A destroy_drawable interface
> is added to allow the state tracker to notify the st manager to remove
> the associated framebuffer interface object from the hash table,
> so the associated framebuffer and its resources can be deleted
> at framebuffers purge time.
>
> Fixes bug 101829 "read-after-free in st_framebuffer_validate"
Please add proper tags, before merging.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101829
Fixes: 147d7fb772a ("st/mesa: add a winsys buffers list in st_context")

Thanks
Emil


More information about the mesa-dev mailing list