[PATCH] Avoid segfaults in XF86VidMode GammaRamp functions if randr_crtc is NULL

Keith Packard keithp at keithp.com
Tue Jan 26 23:48:07 PST 2010

On Tue, 26 Jan 2010 23:31:55 -0800, Alan Coopersmith <Alan.Coopersmith at Sun.COM> wrote:

> I was only able to reproduce on a configuration with two cards running in
> Xinerama mode.   Could this be another instance of RandR & Xinerama not
> playing nicely together?

Yes, that makes sense -- you don't get randr if you have Xinerama. Ajax
promises to fix this soon though :-)

> In that case it would fall throw to the code that handles the
> cases when xf86_crtc_supports_gamma(pScrn) returns false.


Reviewed-by: Keith Packard <keithp at keithp.com>

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20100126/22a2ded0/attachment.pgp 

More information about the xorg-devel mailing list