mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
net/x11vnc: patch CVE-2020-29074
Security: CVE-2020-29074 MFC: 2024Q4
This commit is contained in:
parent
a2e118fa21
commit
78dcb38f4a
2 changed files with 12 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= x11vnc
|
PORTNAME= x11vnc
|
||||||
PORTVERSION= 0.9.16
|
PORTVERSION= 0.9.16
|
||||||
PORTREVISION= 7
|
PORTREVISION= 8
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
|
|
||||||
MAINTAINER= dinoex@FreeBSD.org
|
MAINTAINER= dinoex@FreeBSD.org
|
||||||
|
|
11
net/x11vnc/files/patch-src_scan.c
Normal file
11
net/x11vnc/files/patch-src_scan.c
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/scan.c.orig 2019-01-05 13:22:11 UTC
|
||||||
|
+++ src/scan.c
|
||||||
|
@@ -320,7 +320,7 @@ static int shm_create(XShmSegmentInfo *shm, XImage **x
|
||||||
|
|
||||||
|
#if HAVE_XSHM
|
||||||
|
shm->shmid = shmget(IPC_PRIVATE,
|
||||||
|
- xim->bytes_per_line * xim->height, IPC_CREAT | 0777);
|
||||||
|
+ xim->bytes_per_line * xim->height, IPC_CREAT | 0600);
|
||||||
|
|
||||||
|
if (shm->shmid == -1) {
|
||||||
|
rfbErr("shmget(%s) failed.\n", name);
|
Loading…
Add table
Reference in a new issue