Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
xf86-video-modesetting
u_03-Fix-off-by-one-error-in-box-copying-routin...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_03-Fix-off-by-one-error-in-box-copying-routine.patch of Package xf86-video-modesetting
From: Egbert Eich <eich@suse.de> Date: Wed Aug 26 09:03:34 2015 +0200 Subject: [PATCH 3/6]Fix off-by-one error in box copying routine Patch-mainline: to be upstreamed References: bsc#942871 Signed-off-by: Egbert Eich <eich@suse.com> Signed-off-by: Egbert Eich <eich@suse.de> --- src/driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver.c b/src/driver.c index a88afa3..c089056 100644 --- a/src/driver.c +++ b/src/driver.c @@ -917,8 +917,8 @@ msUpdatePacked(ScreenPtr pScreen, shadowBufPtr pBuf) break; nrects = 0; - for (j = ty2; j >= ty1; j--) { - for (i = tx2; i >= tx1; i--) { + for (j = ty2 - 1; j >= ty1; j--) { + for (i = tx2 - 1; i >= tx1; i--) { BoxRec box; box.x1 = max(i * TILE, extents->x1);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor