View | Details | Raw Unified | Return to bug 248410
Collapse All | Expand All

(-)x11-servers/xorg-server/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME?=	xorg-server
4
PORTNAME?=	xorg-server
5
PORTVERSION?=	1.20.8
5
PORTVERSION?=	1.20.8
6
PORTREVISION?=	2
6
PORTREVISION?=	3
7
PORTEPOCH?=	1
7
PORTEPOCH?=	1
8
CATEGORIES=	x11-servers
8
CATEGORIES=	x11-servers
9
MASTER_SITES=	XORG/individual/xserver
9
MASTER_SITES=	XORG/individual/xserver
(-)x11-servers/xorg-server/files/patch-dix_pixmap.c (+10 lines)
Line 0 Link Here
1
--- dix/pixmap.c
2
+++ dix/pixmap.c
3
@@ -116,7 +116,7 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
4
     if (pScreen->totalPixmapSize > ((size_t) - 1) - pixDataSize)
5
         return NullPixmap;
6
 
7
-    pPixmap = malloc(pScreen->totalPixmapSize + pixDataSize);
8
+    pPixmap = calloc(1, pScreen->totalPixmapSize + pixDataSize);
9
     if (!pPixmap)
10
         return NullPixmap;

Return to bug 248410