pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / x11 / xorg-server / patches / CVE-2020-14347.patch
blob7d28cf8cd5f7305184d33f4a5c3345422d3fc50f
1 --- xorg-server-1.19.7/dix/pixmap.c.1 2020-08-02 06:10:47.527239653 +0000
2 +++ xorg-server-1.19.7/dix/pixmap.c 2020-08-02 06:11:17.221087952 +0000
3 @@ -116,7 +116,7 @@
4 if (pScreen->totalPixmapSize > ((size_t) - 1) - pixDataSize)
5 return NullPixmap;
7 - pPixmap = malloc(pScreen->totalPixmapSize + pixDataSize);
8 + pPixmap = calloc(1, pScreen->totalPixmapSize + pixDataSize);
9 if (!pPixmap)
10 return NullPixmap;