From nobody Fri Nov 8 17:52:19 2024 X-Original-To: dev-commits-ports-branches@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 4XlRNM24lZz5cZjd; Fri, 08 Nov 2024 17:52:19 +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 4XlRNM1fffz410j; Fri, 8 Nov 2024 17:52:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731088339; 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=92gpwlNNAsfQEFhu3g851HPOajZ/qcja2sibG0Sbl9Y=; b=MhZhPxiB8J11Rn8VXs+rGt2o82HrKUOKEVIDroMQgL845spbP5geqcjVUWcIN1SCd/LOvV iDV2OVLsRYexhJ327057LEOxCxRZG98AGiRkovZ3anr+nxmqWR7MWYEn5M7Q4MJvWysu6H DozcaPOaeOjDDvSsVOTYuno04KCMmDfolhibdRf79cJF4H11mvMxWdaA20sgTnmy1gJeRv Uw2wKsVEYUXVr0HU92zt0SKji/Tw6y536GwptAS1O7QG7VcRtaZ1X70n/kc7pAW4FBHfLo x+oHrwOyHkrPJTjqk/QEHG5SzBXLdqVaNNBgKJJ5tQciT6StckOdwH5S/D2z5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731088339; 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=92gpwlNNAsfQEFhu3g851HPOajZ/qcja2sibG0Sbl9Y=; b=GKASgQ5EK0GG7+a7dI4UDd+RB5W0VA0l4doL8Sq3l3/B6khOwL9PSTWVFVMyNh3zOJ8Oyy J9if4eZcxxnj+TBqHFGRMcTNgWGDJTHnyB+mRNsY7bqOmoJZN/ojX6w4NY6PHnnSFq65Ds vgJgHtlCF6y2ngi5ACJxepx554rsEuwQZS4pQ5louDQ6RNa6KtuBGrTa3+FsDbZ8v5DEBV yzhh3bluyPa1TydJChGI+0zotxpfu8WhFJigR37A4HMLO/sDVpXf2EelMM2miTjyxkjxqY zZNCL0i1wk3BSiqXnn6Ih/BsbxFjB4DFQxd5Q3rYPVAAOmiBhYIZhsE5XWF4ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731088339; a=rsa-sha256; cv=none; b=pX0c4zaJUOPrQRQCAkSXsx8c+d8VY6mRZzaRsAcQ2m+Ydva903FlaZDjbsbbkVOe26GER6 cUT/LC79k5aMAqUzNtZoDdOtA2UJFQOwtrHLjj4XfDpWZY4h/trbT1Av241Hp5MG48TvDe P4RxoE8a9D0box5vkzD8J4IVmq0qP0/G/dTFfadnYMur8QjUfjlj+Ne7l9T4FirKWkaNep rV6AyAqmxIOn962AsTyWBVzOmrHwcvQrO/ofLVPPKQ81hR158gfURVJ1KhXxXe0tKFxe8T PdCHVIKw6ppNcrvgYgjRvU4G3BfBkT0erVv73WIth98PcdmzaEpVObh3pqUySA== 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 4XlRNM1FgQzfKj; Fri, 8 Nov 2024 17:52:19 +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 4A8HqJ2K095312; Fri, 8 Nov 2024 17:52:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A8HqJNE095309; Fri, 8 Nov 2024 17:52:19 GMT (envelope-from git) Date: Fri, 8 Nov 2024 17:52:19 GMT Message-Id: <202411081752.4A8HqJNE095309@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Dirk Meyer Subject: git: 1b19391b2c14 - 2024Q4 - net/x11vnc: patch CVE-2020-29074 List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@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/2024Q4 X-Git-Reftype: branch X-Git-Commit: 1b19391b2c147986b510fb883671b44f1ddd98e2 Auto-Submitted: auto-generated The branch 2024Q4 has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b19391b2c147986b510fb883671b44f1ddd98e2 commit 1b19391b2c147986b510fb883671b44f1ddd98e2 Author: Dirk Meyer AuthorDate: 2024-11-08 17:48:33 +0000 Commit: Dirk Meyer CommitDate: 2024-11-08 17:52:12 +0000 net/x11vnc: patch CVE-2020-29074 Security: CVE-2020-29074 MFC: 2024Q4 (cherry picked from commit 78dcb38f4af7e4b50df83976aefb81596eaafc80) --- 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);