[PATCH] Avoid segfaults in XF86VidMode GammaRamp functions if randr_crtc is NULL
keithp at keithp.com
Tue Feb 23 09:25:12 PST 2010
On Tue, 23 Feb 2010 15:02:40 +0100, Brice Goglin <Brice.Goglin at ens-lyon.org> wrote:
> See some debugging in
> Does this ring any bell ?
yeah, this makes sense -- the compat_output has recently been redefined
to be the same as the 'primary' output, and that output may well be
turned off, in which case you'd get a crash looking for the crtc
attached to it.
Fixing this will require reviewing all uses of compat_output and
ensuring that they check for a NULL crtc.
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the xorg-devel