Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
xorg-x11-server
XRenderMemoryCorruption.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File XRenderMemoryCorruption.diff of Package xorg-x11-server
Index: xorg-server-1.5.2/fb/fbpict.c =================================================================== --- xorg-server-1.5.2.orig/fb/fbpict.c +++ xorg-server-1.5.2/fb/fbpict.c @@ -37,7 +37,7 @@ #include "mipict.h" #include "fbpict.h" -#define mod(a,b) ((b) == 1 ? 0 : (a) >= 0 ? (a) % (b) : (b) - (-a) % (b)) +#define mod(a,b) ((b) == 1 ? 0 : (a) >= 0 ? (a) % (b) : (b) - (-(a)) % (b)) void fbWalkCompositeRegion (CARD8 op, Index: xorg-server-1.5.2/mi/miarc.c =================================================================== --- xorg-server-1.5.2.orig/mi/miarc.c +++ xorg-server-1.5.2/mi/miarc.c @@ -1529,7 +1529,7 @@ miRoundCap( # define Dsin(d) ((d) == 0.0 ? 0.0 : ((d) == 90.0 ? 1.0 : sin(d*M_PI/180.0))) # define Dcos(d) ((d) == 0.0 ? 1.0 : ((d) == 90.0 ? 0.0 : cos(d*M_PI/180.0))) -# define mod(a,b) ((a) >= 0 ? (a) % (b) : (b) - (-a) % (b)) +# define mod(a,b) ((a) >= 0 ? (a) % (b) : (b) - (-(a)) % (b)) static double miDcos (double a) Index: xorg-server-1.5.2/miext/rootless/safeAlpha/safeAlphaPicture.c =================================================================== --- xorg-server-1.5.2.orig/miext/rootless/safeAlpha/safeAlphaPicture.c +++ xorg-server-1.5.2/miext/rootless/safeAlpha/safeAlphaPicture.c @@ -46,7 +46,7 @@ #include "fbpict.h" #include "safeAlpha.h" #include "rootlessCommon.h" -# define mod(a,b) ((b) == 1 ? 0 : (a) >= 0 ? (a) % (b) : (b) - (-a) % (b)) +# define mod(a,b) ((b) == 1 ? 0 : (a) >= 0 ? (a) % (b) : (b) - (-(a)) % (b)) /* Optimized version of fbCompositeSolidMask_nx8x8888 */ void
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