From nobody Sun Mar 05 12:36:44 2023 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 4PV1Rd34nRz3wRLt; Sun, 5 Mar 2023 12:36: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PV1Rd0CXJz4QBn; Sun, 5 Mar 2023 12:36:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678019805; 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=J7ZlUK4GMMcpsJFIWsteVI7c+v5byzGLeBuamRxYABE=; b=mH06TrpQ4Z9SbfDHDrqKeaB9sSPV18ciysXRz75YPgTxZl7qZJXdXlkWaiXctnNFidMskA i+fYsLlfuj2w8WAxE16KW9MJA5paDi7BWx2aA2yNQ7h2XWSX7KOknZqhXp9fCRi0FAKR6w RqJd6Dg4IonLlo2vPXHn0uwQHn1wN1/1VIOnaCBdMaKl4CsNH53p4P6N9q4aICROzArjq/ I6NJzQvYyMr0V6L4ng3EX1xjrqIyTt3I8FV3zdlvJfh/UVO1YButZxTMtPcSzh/thD1NH7 jMXa3w3uNkNw8Dh8snzKO5UhVFKYmjz2YTrL7ltbWog7afZxqnmMNAdLKAr0dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678019805; 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=J7ZlUK4GMMcpsJFIWsteVI7c+v5byzGLeBuamRxYABE=; b=b0GoF2u7YqxcK8Y5j3EdivzyjikNFi20BhTmi+9UgbHixQVLb+w9fBBOORedfbQmL/sH0+ p0ipHPBCczr83wwtQKX/2O7Y3xjOKHo2tpjBPfmrtShEeq/STGM6iQ1uxJ7rDKTEUo/YCe 4qLLzZiFfr3ZqaRYt0/yWIw7XldpyNuaBVH7Qd4PteXEXA/0krMPKxw2mzWFEO3HgrUaez 16+CYrI5x996I2s3u842FNYjLBss7DmN4vVTDUwEqGwEFc7vB9U4kw3TQtf12iA3TdIFby ts0biIcWgYI7cAybD+5ByXGHt2u5o/N0dfKV5W5jAb0F61X14pNxzAx2uv4ZNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678019805; a=rsa-sha256; cv=none; b=lYZ8IG/brTh4PyL2AdgykhjIWeAuPp/KzLwkREuIErM1+G9ZDsjXolAUyqVy8rLyClGNUL ttMwI5cPdd38qxCjdPkMiHKYVwWioTtxsoNN8z4okbImELiqXj+3VoRnLIS0I2WYViZtid wJv33P40xL7i0uBHAN2mpeAn0obkfC4Im2FR4+90kbbYo79kgGmhS9PAI0JZxC8vposBvR 9cCY7kKNrlnq1Gx+d5rlKTfI+uML+f8B/VZG4b7M6WEYYxioehR8vKk1isxWyT34Z29Eb6 xeWY2X1N9vxSdsqO/ZZWiwd+fbgK8jkCMhYe8aHc2YltSsRurh3PytTapX1t+A== 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 4PV1Rc6PZszLt6; Sun, 5 Mar 2023 12:36:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 325CaiIa068396; Sun, 5 Mar 2023 12:36:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 325CaikZ068395; Sun, 5 Mar 2023 12:36:44 GMT (envelope-from git) Date: Sun, 5 Mar 2023 12:36:44 GMT Message-Id: <202303051236.325CaikZ068395@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: a9cb9c75a020 - 2023Q1 - net/remmina: Fix ssh plugin. 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: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q1 X-Git-Reftype: branch X-Git-Commit: a9cb9c75a0200535b922be6057ef08cb238092be Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q1 has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=a9cb9c75a0200535b922be6057ef08cb238092be commit a9cb9c75a0200535b922be6057ef08cb238092be Author: Fernando ApesteguĂ­a AuthorDate: 2023-03-02 16:45:19 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-03-05 12:32:14 +0000 net/remmina: Fix ssh plugin. Reduce size of the buffer to avoid stack smashing. PR: 265056 Reported by: ohartmann@walstatt.org MFH: 2023Q1 (bug fix) (cherry picked from commit 4967d9eb09c1369d5c3dd41edaedba25fd127f3d) --- net/remmina/Makefile | 2 +- net/remmina/files/patch-src_remmina__ssh.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/net/remmina/Makefile b/net/remmina/Makefile index 8f97ba52850b..ef0a27500d61 100644 --- a/net/remmina/Makefile +++ b/net/remmina/Makefile @@ -1,5 +1,5 @@ PORTNAME= remmina -DISTVERSION= 1.4.27 +DISTVERSION= 1.4.29 PORTREVISION= 1 CATEGORIES= net gnome diff --git a/net/remmina/files/patch-src_remmina__ssh.c b/net/remmina/files/patch-src_remmina__ssh.c new file mode 100644 index 000000000000..2241984b4b9f --- /dev/null +++ b/net/remmina/files/patch-src_remmina__ssh.c @@ -0,0 +1,11 @@ +--- src/remmina_ssh.c.orig 2023-03-02 13:25:58 UTC ++++ src/remmina_ssh.c +@@ -479,7 +479,7 @@ remmina_ssh_cp_to_ch_cb(int fd, int revents, void *use + { + TRACE_CALL(__func__); + ssh_channel channel = (ssh_channel)userdata; +- gchar buf[0x200000]; ++ gchar buf[524288]; + gint sz = 0, ret = 0; + + node_t *temp_node = remmina_ssh_search_item(channel);