pixman: Branch 'master'

Søren Sandmann Pedersen sandmann at kemper.freedesktop.org
Sat May 9 05:34:44 PDT 2009


 pixman/pixman-matrix.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e74a2847ddcb3b4c1675efaaa923e78556277dff
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Sat May 9 08:34:12 2009 -0400

    Fix divide-by-zero crash

diff --git a/pixman/pixman-matrix.c b/pixman/pixman-matrix.c
index 8e3a3c0..79dae8d 100644
--- a/pixman/pixman-matrix.c
+++ b/pixman/pixman-matrix.c
@@ -93,7 +93,7 @@ pixman_transform_point(const struct pixman_transform *transform,
 			v[j] += partial >> 2;
 		}
 	}
-	if (!v[2])
+	if (!(v[2] >> 16))
 		return FALSE;
 	for (j = 0; j < 2; j++)
 	{


More information about the xorg-commit mailing list