From nobody Fri Nov 08 17:48:45 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XlRJF1Nxyz5cYgd; Fri, 08 Nov 2024 17:48:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XlRJF0xjQz3ynn; Fri, 8 Nov 2024 17:48:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731088125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RcPZZ3Wam2mxhEs63FE+JYSDyIx2IvUDJihVzzjwFug=; b=Geq+Q2YmVF7oXkYCBcH8bhLfIZu3OGuZqRmniO8EXDi4DJnpSi+lWmzJ1Smm0lDWCzC399 FE7SeBtNKL6ZvEE2BGUmLEraUMBlGOAE1uAb/Ae15Id8p9hEKHdN8kA7GWD0GH6w1QPdPw vtREcy/m7syI1uDCr+xfS7N2vdlUYGKos7N2v+cGEFAgeq2rG+69fs6A7VDHJoUc0mrHN5 1lbzNb/TR76hP6L7l2ukLYJs6AbPyUH006rl8Dw4+dmcv+y2LI6jo6afhwH3Lm6hDWB4kB Ng4qL3Y4ODJ21SYmuUBHI+KLoLFCKX3FMSk+uoNgX9uBJobWMnVcCh+3uvnsqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731088125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RcPZZ3Wam2mxhEs63FE+JYSDyIx2IvUDJihVzzjwFug=; b=RpbcvuFJuAD1ZTSZAFSzsua1iCEL32783oPjxdEGFYLMPEjsCoUtPAnR8jEjmbHB9HpiWJ jeFHGzkaUNHUBqNehgFMNLC9stfeozawOftNDjEnFPItxkS15uGwO5QwkgwX5gOwHB6/Tt pOtMYF/6ebtGRFbpZlxT+vG3XgXEaCnd8bQt2c2iWsovZWaEPI7btQhn6NnZo8ng2lu5cQ ZcfXIeCGQWAPKO7HNVPI7mwywYwlD6V4D6GNnmOqlz5miBK0/mtlos1LeydHBUC740p64h 2azGZQARP2zYjKrX3jjw6/YgRZYHym25/tWhy6GVMtba3gh4XW/OQOWSw502GA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731088125; a=rsa-sha256; cv=none; b=WedhrQ2NHI2H+uvao5MQC6tIuFU83jpWwBL7UGzJfxRkePDBTwXrhnKHzOQVD7v39nqCoD XO8mcCVF0iCrE5h82zIlwUbvbTJ/6es0/kkYHIEVfUFxgJf708/hqsO0l7xCDIIz0xfRFS 3WUIkgBWSrNTL2rfw9i6rApDUAuyn5NHD9x0+xtMkQTUA9jpL2dksHYmSwozYMIQztn3Dd a1h8q5ih2Flt/ITozPhJp9xHUQ0d2QY4saBIXLMvcGqhuzVDNwiQCn2uxZHbUUGJdCW/pM juyfKulRPWDkZZzQQclh56yFOzRKUG7huCVeyBiXM94G6wAEmmcpcPMWpBV/wA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XlRJF0Y31zdy7; Fri, 8 Nov 2024 17:48:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A8HmjlN078911; Fri, 8 Nov 2024 17:48:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A8HmjFL078908; Fri, 8 Nov 2024 17:48:45 GMT (envelope-from git) Date: Fri, 8 Nov 2024 17:48:45 GMT Message-Id: <202411081748.4A8HmjFL078908@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: 78dcb38f4af7 - main - net/x11vnc: patch CVE-2020-29074 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 78dcb38f4af7e4b50df83976aefb81596eaafc80 Auto-Submitted: auto-generated The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=78dcb38f4af7e4b50df83976aefb81596eaafc80 commit 78dcb38f4af7e4b50df83976aefb81596eaafc80 Author: Dirk Meyer AuthorDate: 2024-11-08 17:48:33 +0000 Commit: Dirk Meyer CommitDate: 2024-11-08 17:48:33 +0000 net/x11vnc: patch CVE-2020-29074 Security: CVE-2020-29074 MFC: 2024Q4 --- net/x11vnc/Makefile | 2 +- net/x11vnc/files/patch-src_scan.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/net/x11vnc/Makefile b/net/x11vnc/Makefile index 1067d3b9349d..92606363ca6c 100644 --- a/net/x11vnc/Makefile +++ b/net/x11vnc/Makefile @@ -1,6 +1,6 @@ PORTNAME= x11vnc PORTVERSION= 0.9.16 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= net MAINTAINER= dinoex@FreeBSD.org diff --git a/net/x11vnc/files/patch-src_scan.c b/net/x11vnc/files/patch-src_scan.c new file mode 100644 index 000000000000..8c711d1c2c2c --- /dev/null +++ b/net/x11vnc/files/patch-src_scan.c @@ -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);