[Intel-gfx] [PATCH] drm/i915: Prevent use of uninitialized pointers along error path.

Eric Anholt eric at anholt.net
Mon Jan 25 18:00:54 CET 2010


On Sat, 23 Jan 2010 20:26:35 +0000, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>   X.org hang with [drm:i915_gem_do_execbuffer] *ERROR* in dmesg
>   http://bugzilla.kernel.org/show_bug.cgi?id=15114
> 
> Matej found he was hitting an error path within i915_gem_do_execbuffer()
> that led to the attempt to dereference an uninitialised pointer during
> cleanup. This path used to be safe as we used to calloc the object
> lists, but this was changed in c8e0f93. Daniel Vetter had also spotted
> this error and proposed a similar patch.

Applied.  Thanks!
-------------- 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/intel-gfx/attachments/20100125/59960604/attachment.sig>


More information about the Intel-gfx mailing list