From 5c2f6a3e9ff933444e0d0b2e844702dd91cc2ce2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 5 May 2010 08:22:10 -0600 Subject: [PATCH] llvmpipe: added a new assertion as a hint to Coverity Looks like coverity found a false positive for an out of bounds array write. --- src/gallium/drivers/llvmpipe/lp_scene.h | 1 + 1 file changed, 1 insertion(+) 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); } { -- 2.30.2