[PATCH] glx: fixup deref of null pointer when glx screen init fails.

Luc Verhaegen libv at skynet.be
Tue Oct 13 06:58:34 PDT 2009


On Fri, Oct 02, 2009 at 04:28:54PM +0200, Luc Verhaegen wrote:
> 
> In order to have this evaluated ASAP, i haven't set up an up to date 
> environment where i can build Xorg master yet, so this patch was not 
> even build tested.

> >From 5f57d8c68e175d414a3b0b67eada61b645ae2f8c Mon Sep 17 00:00:00 2001
> From: Luc Verhaegen <libv at skynet.be>
> Date: Fri, 2 Oct 2009 16:27:13 +0200
> Subject: [PATCH] GLX: further improve GLX protocol version handling.
> 
> * The SERVER_GLX_*_VERSION defines now set the initial
>   GLXScreen->GLXMajor/Minor values directly.
> * The GLXScreen->GLXMajor/Minor versions of the different providers now
>   are where glxMajor/MinorVersion get their values from.
> * Keep the SERVER_GLX_*_VERSION defines where they belong to keep
>   natural segmentation intact.
> 
> Warning: this patch was not even build tested.

Builds and runs just fine.

Luc Verhaegen.


More information about the xorg-devel mailing list