[PATCH xserver] GLX: Fix a use after free error with the GLVND vendor handle.

Adam Jackson ajax at redhat.com
Mon Apr 9 21:06:51 UTC 2018


On Fri, 2018-04-06 at 12:42 -0600, Kyle Brenneman wrote:
> The GLVND layer will destroy all of the vendor handles at the end of each
> server generation, but the GLX module then tries to re-use the same (now-freed)
> handle in xorgGlxServerInit at the start of the next generation.
> 
> In xorgGlxCloseExtension, explicitly destroy the vendor handle and set it to
> NULL so that the next call to xorgGlxServerInit will recreate it.

Merged, thanks:

remote: Updating patchwork state for https://patchwork.freedesktop.org/project/Xorg/list/
remote: I: patch #215553 updated using rev e0a137ce5d653063604fa8d16c8498b8ac3ab3a7.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   31c1489eeb..e0a137ce5d  master -> master

- ajax


More information about the xorg-devel mailing list