Author: qboosh Date: Thu May 11 09:25:54 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - official CVE-2006-1525 fix
---- Files affected: SOURCES: x11r6.9.0-mitri.diff (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/x11r6.9.0-mitri.diff diff -u /dev/null SOURCES/x11r6.9.0-mitri.diff:1.1 --- /dev/null Thu May 11 11:25:54 2006 +++ SOURCES/x11r6.9.0-mitri.diff Thu May 11 11:25:49 2006 @@ -0,0 +1,25 @@ +Index: programs/Xserver/render/mitri.c +=================================================================== +RCS file: /cvs/xorg/xc/programs/Xserver/render/mitri.c,v +retrieving revision 1.5 +diff -u -r1.5 mitri.c +--- programs/Xserver/render/mitri.c 3 Jul 2005 07:02:08 -0000 1.5 ++++ programs/Xserver/render/mitri.c 30 Apr 2006 20:19:57 -0000 +@@ -145,7 +145,7 @@ + if (npoint < 3) + return; + ntri = npoint - 2; +- tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle)); ++ tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle)); + if (!tris) + return; + for (tri = tris; npoint >= 3; npoint--, points++, tri++) +@@ -177,7 +177,7 @@ + if (npoint < 3) + return; + ntri = npoint - 2; +- tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle)); ++ tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle)); + if (!tris) + return; + first = points++; ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
