[resend with fixed changelog entry PATCH] xfree86: Strip dangling pointers from desiredMode

Keith Packard keithp at keithp.com
Wed Jul 11 15:56:54 PDT 2012

Maarten Lankhorst <maarten.lankhorst at canonical.com> writes:

> Based on the original patch by Chris Wilson, which was a better fix than mine.
> We stash a copy of the desiredMode on the crtc so that we can restore it
> after a vt switch. This copy is a simple memcpy and so also stashes a
> references to the pointers contained within the desiredMode. Those
> pointers are freed the next time the outputs are probed and mode list
> rebuilt, resulting in us chasing those dangling pointers on the next
> mode switch.

   59c2c4f..deb0865  master -> master

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120711/c8546248/attachment.pgp>

More information about the xorg-devel mailing list