/[gentoo-x86]/x11-base/xorg-server/files/xorg-xserver-1.4-cve-2008-2361.diff
Gentoo

Contents of /x11-base/xorg-server/files/xorg-xserver-1.4-cve-2008-2361.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Sep 28 07:41:03 2009 UTC (5 years, 2 months ago) by remi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
FILE REMOVED
x11-base/xorg-server: drop old ebuilds, prune ${FILESDIR}
(Portage version: 2.2_rc42/cvs/Linux i686)

1 diff --git a/render/render.c b/render/render.c
2 index caaa278..b53e878 100644
3 --- a/render/render.c
4 +++ b/render/render.c
5 @@ -1504,6 +1504,8 @@ ProcRenderCreateCursor (ClientPtr client)
6 pScreen = pSrc->pDrawable->pScreen;
7 width = pSrc->pDrawable->width;
8 height = pSrc->pDrawable->height;
9 + if (height && width > UINT32_MAX/(height*sizeof(CARD32)))
10 + return BadAlloc;
11 if ( stuff->x > width
12 || stuff->y > height )
13 return (BadMatch);

  ViewVC Help
Powered by ViewVC 1.1.20