[Mesa-dev] [PATCH] intel: Move irb null check before dereference.
Eric Anholt
eric at anholt.net
Wed Jun 26 09:46:31 PDT 2013
Vinson Lee <vlee at freedesktop.org> writes:
> Fixes "Dereference before null check" defect reported by Coverity.
The irb->mt check should be dropped, instead --
_mesa_source_buffer_exists() or _mesa_clip_copytexsubimage() should have
failed in that case, and we would never have reached this.
-------------- 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/20130626/d1ede08d/attachment-0001.pgp>
More information about the mesa-dev
mailing list