[PATCH] Avoid segfaults in XF86VidMode GammaRamp functions if randr_crtc is NULL
Keith Packard
keithp at keithp.com
Thu Feb 25 11:50:22 PST 2010
On Tue, 26 Jan 2010 22:25:04 -0800, Alan Coopersmith <alan.coopersmith at sun.com> wrote:
> Fixes crash when xscreensaver tries to use GammaRamp calls to fade out
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6915712
I've posted a more comprehensive patch for this which allows
compat_output to point at any output and deals with missing crtc or
randr_crtc elements. It's on the compat_output branch in the server main
tree.
Testing and review welcome; Eric Anholt has tested it and found that it
fixes a known crash in his environment, so we're getting somewhere at least.
--
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/20100225/4172cefc/attachment.pgp>
More information about the xorg-devel
mailing list