[Mesa-dev] [PATCH] intel: add null src pointer check in intel_region_reference()

Eric Anholt eric at anholt.net
Thu Jul 7 17:35:14 PDT 2011

On Thu,  7 Jul 2011 17:31:47 -0600, Brian Paul <brianp at vmware.com> wrote:
> Fixes segfault when running cubemap demo on i945.  This happened
> when intel_region_reference() was called in i915_set_draw_region()
> with depth_region=NULL.

Whoops, managed to drop that check in the cleanup.  Thanks!

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110707/03e35deb/attachment-0001.pgp>

More information about the mesa-dev mailing list