LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libvisual-plugins-buffer-overflow.patch of Package libvisual-plugins (Project openSUSE:11.4)

--- plugins/actor/JESS/draw.c
+++ plugins/actor/JESS/draw.c
@@ -69,7 +69,7 @@
 		while (priv->life[i] > 0)
 		{
 			i++;
-			if (i == FUSEE_MAX+1)
+			if (i == FUSEE_MAX)
 				return;
 		}
 		priv->xi[i] = visual_random_context_int(priv->rcontext) % priv->resx - priv->xres2;