[PATCH] composite: set oldpixmap to NULL if we fail to realloc the pixmap.
keithp at keithp.com
Wed Jun 2 19:09:56 PDT 2010
On Thu, 3 Jun 2010 10:16:19 +1000, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
> We don't explicity set the old pixmap to NULL if we fail the realloc, which
> later leads to us dereferencing an uninitialised or stale pointer.
pOldPixmap *should* already be set to null -- any idea which code path
that's not getting set in?
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