mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net/x11vnc: patch CVE-2020-29074
Security: CVE-2020-29074 MFC: 2024Q4
This commit is contained in:
parent
a2e118fa21
commit
78dcb38f4a
@ -1,6 +1,6 @@
|
||||
PORTNAME= x11vnc
|
||||
PORTVERSION= 0.9.16
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= net
|
||||
|
||||
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…
Reference in New Issue
Block a user