FreeBSD Bugzilla – Attachment 216935 Details for
Bug 248410
x11-servers/xorg-server: fix CVE-2020-14347 (release 1.20.9 soon)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix CVE-2020-14347
xorg-server.diff (text/plain), 967 bytes, created by
Vladimir Druzenko
on 2020-08-01 11:39:26 UTC
(
hide
)
Description:
fix CVE-2020-14347
Filename:
MIME Type:
Creator:
Vladimir Druzenko
Created:
2020-08-01 11:39:26 UTC
Size:
967 bytes
patch
obsolete
>diff -urN x11-servers/xorg-server.orig/Makefile x11-servers/xorg-server/Makefile >--- x11-servers/xorg-server.orig/Makefile >+++ x11-servers/xorg-server/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME?= xorg-server > PORTVERSION?= 1.20.8 >-PORTREVISION?= 2 >+PORTREVISION?= 3 > PORTEPOCH?= 1 > CATEGORIES= x11-servers > MASTER_SITES= XORG/individual/xserver >diff -urN x11-servers/xorg-server.orig/files/patch-dix_pixmap.c x11-servers/xorg-server/files/patch-dix_pixmap.c >--- x11-servers/xorg-server.orig/files/patch-dix_pixmap.c >+++ x11-servers/xorg-server/files/patch-dix_pixmap.c >@@ -0,0 +1,10 @@ >+--- dix/pixmap.c >++++ dix/pixmap.c >+@@ -116,7 +116,7 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize) >+ if (pScreen->totalPixmapSize > ((size_t) - 1) - pixDataSize) >+ return NullPixmap; >+ >+- pPixmap = malloc(pScreen->totalPixmapSize + pixDataSize); >++ pPixmap = calloc(1, pScreen->totalPixmapSize + pixDataSize); >+ if (!pPixmap) >+ return NullPixmap;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
vvd
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 248410
: 216935