[PATCH] glx: Do not call into Composite if it is disabled.

Adam Jackson ajax at nwnk.net
Tue Apr 10 18:40:25 UTC 2018


On Wed, 2018-02-14 at 14:33 -0500, Adam Jackson wrote:
> On Tue, 2018-02-13 at 10:33 +0100, Michal Srb wrote:
> > Otherwise X server crashes if GLX is enabled and Composite disabled. For
> > example the compIsAlternateVisual function will try to lookup CompScreenPtr
> > using the CompScreenPrivateKey, but that was never initialized if Composite is
> > disabled.
> 
> I've hit enough cases like this that I think we should consider
> changing dixLookupPrivate thus:

Well maybe we should, but for now this is fine. Merged, thanks:

remote: I: patch #204141 updated using rev 1326ee0bc5eb858c3c00847b3ba65134e4ca2e2d.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   b9764b8489..1326ee0bc5  master -> master

- ajax


More information about the xorg-devel mailing list