From nobody Sun Nov 26 16:17:33 2023 X-Original-To: dev-commits-ports-all@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 4SdYld71T6z52DRX; Sun, 26 Nov 2023 16:17:33 +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 4SdYld6bL5z3J12; Sun, 26 Nov 2023 16:17:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701015453; 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=CwKEwi/Yu+o3gTHDjFwsdVlNzZFwriHXMbclSH8qMFQ=; b=y1Zp4W3/CCAHKIKdIA9btGNYlWsqfJJeREdG8LGFwj4kCAbVQxR01sXOoigZY9N9vn2wO9 iy0SYEOzGgihDERSLmhrmoArBo7RPUK7Uw9rH9guKe8IG4DVjyFWEDO+1UP9kEfsbhROUn TdxqYxiymI09aHQjZXBpsFWrgzQmUlEfLggllX4BVwNmW9p23ZFvEkUeW4X0BOBqa0E0o+ tNngIh3xW4GUIFq9kSn1Z14BvuWCg30FqQThyvVdSZIEe1P3+QPtQM6ilsjk4C5sK/WK1v 6b8zwDQwiW9H+f/Xo0OjX60DCFrADS8iuxTUwQ1vyYdhvdFkxlZbFenVuTveKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701015453; 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=CwKEwi/Yu+o3gTHDjFwsdVlNzZFwriHXMbclSH8qMFQ=; b=bue6riWfTpL1ZbvKwC77H1zWONcsQrbULn6dXnQGwXJoXA5dCVhHxWk1oWGPHjSketVp0m EMQ5wlI2g35SLonTCUo2EDYAKzSzw6S15L7bGOT8tTK8hu9kkrhEhcV9H2Xx9ktCR2K/bI MvWpREsXSS6SZQQ5bYe6rdwx/bXGtwP42YNuSrTDjtUCK0DvkYLhibSHPnyvchdziLZ68Q OzfS8Oj51UfQv0ln7z9e3baBcMIc1g5yk50kfACFuKFd3JUhsY4gdoSrSZ744DQRf7sVG4 tsMPPm459TTOmkCkCLj5y4EZv3AitDqxSP5vy7ihR2LU6qWqtlxdxiskOuSshQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701015453; a=rsa-sha256; cv=none; b=hKKRqw9MKp3AjFVSI/QSXVGq9++00dXubxRzFfvBomye54O2N9MN+R4SZoQ9D9XPly/u0z HoQkGiSVPfGVI/hH8AWLCQL9qrOqw6zNnXi2g28Vbp5t/iCb/DzPQd0A/fsjPQXu5i8w2Z n5MQgcKtyJKa8w/XuIRu6XrhFP6+kI05c5dU5V9l9Y7/9NB/JnVX3bcpz9/Cvks+sFOBaj 9OC0kujdfrwc8csi3F3rxs+JN0Mt925siw3YDZrUZgnWgjFHBkreUlktN6WzxhYhIHnenS NHetdBl6h1COogsNqQfT/T/DGDHe3uc8ao1qitBU3PoOS1jhq2lQFLIetC3SYg== 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 4SdYld5fPXz12P0; Sun, 26 Nov 2023 16:17:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AQGHXQ8046971; Sun, 26 Nov 2023 16:17:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AQGHXjo046968; Sun, 26 Nov 2023 16:17:33 GMT (envelope-from git) Date: Sun, 26 Nov 2023 16:17:33 GMT Message-Id: <202311261617.3AQGHXjo046968@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: 986fd4e1a413 - main - graphics/qt6-svg: Import patch to fix null dereference at runtime List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 986fd4e1a413aab152d54026fd0df8bd87b6da45 Auto-Submitted: auto-generated The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=986fd4e1a413aab152d54026fd0df8bd87b6da45 commit 986fd4e1a413aab152d54026fd0df8bd87b6da45 Author: Guido Falsi AuthorDate: 2023-11-26 16:15:10 +0000 Commit: Guido Falsi CommitDate: 2023-11-26 16:15:10 +0000 graphics/qt6-svg: Import patch to fix null dereference at runtime PR: 275350 Approved by: kde (jhale) Obtained from: https://github.com/qt/qtsvg/commit/effc44495a33babd4cf7a2044123f420e6b3da1c --- graphics/qt6-svg/Makefile | 1 + graphics/qt6-svg/files/patch-src_svg_qsvghandler.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/graphics/qt6-svg/Makefile b/graphics/qt6-svg/Makefile index 1b6c6acca233..7bbbcca0fb88 100644 --- a/graphics/qt6-svg/Makefile +++ b/graphics/qt6-svg/Makefile @@ -1,5 +1,6 @@ PORTNAME= svg DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= qt6- diff --git a/graphics/qt6-svg/files/patch-src_svg_qsvghandler.cpp b/graphics/qt6-svg/files/patch-src_svg_qsvghandler.cpp new file mode 100644 index 000000000000..8eb861736a32 --- /dev/null +++ b/graphics/qt6-svg/files/patch-src_svg_qsvghandler.cpp @@ -0,0 +1,11 @@ +--- src/svg/qsvghandler.cpp.orig 2023-10-02 03:05:52 UTC ++++ src/svg/qsvghandler.cpp +@@ -3606,6 +3606,8 @@ static bool detectCycles(const QSvgNode *node, QList active = {}) + { ++ if (Q_UNLIKELY(!node)) ++ return false; + switch (node->type()) { + case QSvgNode::DOC: + case QSvgNode::G: