Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 225419 | Differences between
and this patch

Collapse All | Expand All

(-)a/render/render.c (+2 lines)
Lines 1504-1509 ProcRenderCreateCursor (ClientPtr client) Link Here
1504
    pScreen = pSrc->pDrawable->pScreen;
1504
    pScreen = pSrc->pDrawable->pScreen;
1505
    width = pSrc->pDrawable->width;
1505
    width = pSrc->pDrawable->width;
1506
    height = pSrc->pDrawable->height;
1506
    height = pSrc->pDrawable->height;
1507
    if (height && width > UINT32_MAX/(height*sizeof(CARD32)))
1508
	return BadAlloc;
1507
    if ( stuff->x > width 
1509
    if ( stuff->x > width 
1508
      || stuff->y > height )
1510
      || stuff->y > height )
1509
	return (BadMatch);
1511
	return (BadMatch);

Return to bug 225419