From nobody Fri Nov 8 17:46:14 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 4XlRFL5JBhz5cYxr; Fri, 08 Nov 2024 17:46:14 +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 4XlRFL4dtkz3xF4; Fri, 8 Nov 2024 17:46:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731087974; 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=yG2MB4T8l5fuOTaQo2azSg7fICr7UDqJa2PE1lF6z3I=; b=dNebTN1d6qkjY/9XnDGPnPy6Vm75/B42qZHrkMxRXYjX8x6Tls7lmtmtFkpdglCksZUEPs e4CZlcsI2qiMd0sG69SdrOq6iH0/cObLwnaDcY7F3w0FEkAK6JiKD+fl4GAKj6O604AVfE QBkMMI4gKg/EokBnA8q9Oi9Im5NO74FBT36MJOvdeBwviEOvB/6upHV7tkdbxmzJ1SzFVQ skJuKrEDAPTjSLHjWgwQV7T1hl3cq7HoOviyV8Kpku/gXTflXGVg9IGL9+zcJxNf+Ic4XZ JYqQGzr+f0b4dkLRhZC1J9ELjBqCr8Rb4viA86P9/mkbx7BpNMk2tvObBnVrLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731087974; 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=yG2MB4T8l5fuOTaQo2azSg7fICr7UDqJa2PE1lF6z3I=; b=yjYwcWq2UxSZOob9qMul/YrHbI3nCDgQbOiCwS9+MprYnSGvlf26pBsWvj1cRLbgJ2HEQw V/GuEd18c1kuBd81WN7SqmM2DlIFon2Br8sNg0t/5KxKs05vxPWkxKUPOseoXpicq0yi7F sniBh9F1e8mvkS5l+8CgSRw2+fX3nQN1GQsfNb3WOMQKfruhwnvyE0NkFJG8JPiXHIclKb ZFpBZg2kHxAQlfAMmXKj/hWZBC6Bbe2/tfELc1FhPsJMu4CvdFdceaPr2LzQhpZo6GOAEC 0OrLmpinfeuiWX97KEWrX+C4Ihh4aXVkFE+ykA2MSa67z9xvtLJYjyQnFxUdUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731087974; a=rsa-sha256; cv=none; b=tXo9kJU3NUhT3Meza5az5KPrGgLxWZhyIk7wiAoL183ygqI6f8iFGajPfUTHXks7tlHhPS appnaEJM50GrvupXLhysmENFhQXFGZAUkSbzyWj7Fvq8XeIzpAaO7vEfaprVpi8ldGNGUM 6/3yxTS3L5VX5AWo0sIogVwj1+L6EPXQk1gaTQPey/G99OdLUCRFvKl/nopi0uSCKoo2j9 g6lyrywReVukhq1D4EjINmIV3WG5inO7hzkwLK9kNj2MBOj+y3bUWmgmavaN3Q4P8deGM7 HfZ9RdkLBziY+uO1aI8/mHOOMagp+qTvVraPUIBC8sbXIulVZFtneCgNGXnCvA== 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 4XlRFL46hnzdy5; Fri, 8 Nov 2024 17:46:14 +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 4A8HkElx078086; Fri, 8 Nov 2024 17:46:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A8HkER6078083; Fri, 8 Nov 2024 17:46:14 GMT (envelope-from git) Date: Fri, 8 Nov 2024 17:46:14 GMT Message-Id: <202411081746.4A8HkER6078083@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: a2e118fa2128 - main - comms/lrzsz: patch CVE-2018-10195 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: a2e118fa2128c7cb7f1bf961c62ac4f4ce809a0c Auto-Submitted: auto-generated The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=a2e118fa2128c7cb7f1bf961c62ac4f4ce809a0c commit a2e118fa2128c7cb7f1bf961c62ac4f4ce809a0c Author: Dirk Meyer AuthorDate: 2024-11-08 17:45:36 +0000 Commit: Dirk Meyer CommitDate: 2024-11-08 17:45:36 +0000 comms/lrzsz: patch CVE-2018-10195 Security: CVE-2018-10195 MFC: 2024Q4 --- comms/lrzsz/Makefile | 2 +- comms/lrzsz/files/patch-zm.c | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/comms/lrzsz/Makefile b/comms/lrzsz/Makefile index 6a4ef5a42333..c271e30d3bbd 100644 --- a/comms/lrzsz/Makefile +++ b/comms/lrzsz/Makefile @@ -1,6 +1,6 @@ PORTNAME= lrzsz PORTVERSION= 0.12.20 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= comms MASTER_SITES= http://ohse.de/uwe/releases/ diff --git a/comms/lrzsz/files/patch-zm.c b/comms/lrzsz/files/patch-zm.c new file mode 100644 index 000000000000..fdf38e31aad2 --- /dev/null +++ b/comms/lrzsz/files/patch-zm.c @@ -0,0 +1,19 @@ +--- src/zm.c.orig 1998-12-29 16:48:38 UTC ++++ src/zm.c +@@ -431,10 +431,12 @@ zsdata(const char *buf, size_t length, int frameend) + VPRINTF(3,("zsdata: %lu %s", (unsigned long) length, + Zendnames[(frameend-ZCRCE)&3])); + crc = 0; +- do { +- zsendline(*buf); crc = updcrc((0377 & *buf), crc); +- buf++; +- } while (--length>0); ++ ++ for( ; length; length--) { ++ zsendline(*buf); crc = updcrc((0377 & *buf), crc); ++ buf++; ++ } ++ + xsendline(ZDLE); xsendline(frameend); + crc = updcrc(frameend, crc); +