/[gentoo-x86]/x11-base/xorg-server/files/CVE-2006-1526-xrender-mitri.patch
Gentoo

Contents of /x11-base/xorg-server/files/CVE-2006-1526-xrender-mitri.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jan 24 06:34:22 2007 UTC (7 years, 5 months ago) by dberkholz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Stop supporting Xorg 7.0.
(Portage version: 2.1.2)
 (Unsigned Manifest commit)

1 Index: render/mitri.c
2 ===================================================================
3 RCS file: /cvs/xorg/xserver/xorg/render/mitri.c,v
4 retrieving revision 1.5
5 diff -u -r1.5 mitri.c
6 --- xserver/xorg/render/mitri.c 3 Jul 2005 07:02:08 -0000 1.5
7 +++ xserver/xorg/render/mitri.c 18 Apr 2006 22:34:08 -0000
8 @@ -145,7 +145,7 @@
9 if (npoint < 3)
10 return;
11 ntri = npoint - 2;
12 - tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
13 + tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
14 if (!tris)
15 return;
16 for (tri = tris; npoint >= 3; npoint--, points++, tri++)
17 @@ -177,7 +177,7 @@
18 if (npoint < 3)
19 return;
20 ntri = npoint - 2;
21 - tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
22 + tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
23 if (!tris)
24 return;
25 first = points++;

  ViewVC Help
Powered by ViewVC 1.1.20