From: Brian Paul Date: Wed, 5 May 2010 14:22:10 +0000 (-0600) Subject: llvmpipe: added a new assertion as a hint to Coverity X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c2f6a3e9ff933444e0d0b2e844702dd91cc2ce2;p=mesa.git llvmpipe: added a new assertion as a hint to Coverity Looks like coverity found a false positive for an out of bounds array write. --- diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h index 7714748daff..22d619fdbc3 100644 --- a/src/gallium/drivers/llvmpipe/lp_scene.h +++ b/src/gallium/drivers/llvmpipe/lp_scene.h @@ -274,6 +274,7 @@ lp_scene_bin_command( struct lp_scene *scene, /* out of memory - simply ignore this command (for now) */ return; } + assert(tail->count == 0); } {