[PATCH] composite: initialise pOldPixmap to NullPixmap at alloc time.

Keith Packard keithp at keithp.com
Wed Jun 2 20:36:04 PDT 2010


On Thu,  3 Jun 2010 12:16:40 +1000, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> We just never initialised the malloced value.

I'm assuming you've tested to verify that this fixes the crash on resize
where the pixmap allocation fails?

-- 
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/20100602/d9071618/attachment.pgp>


More information about the xorg-devel mailing list