View | Details | Raw Unified | Return to bug 275350
Collapse All | Expand All

(-)b/graphics/qt6-svg/Makefile (+1 lines)
Lines 1-5 Link Here
1
PORTNAME=	svg
1
PORTNAME=	svg
2
DISTVERSION=	${QT6_VERSION}
2
DISTVERSION=	${QT6_VERSION}
3
PORTREVISION=	1
3
CATEGORIES=	graphics
4
CATEGORIES=	graphics
4
PKGNAMEPREFIX=	qt6-
5
PKGNAMEPREFIX=	qt6-
5
6
(-)b/graphics/qt6-svg/files/patch-src_svg_qsvghandler.cpp (+11 lines)
Added Link Here
1
--- src/svg/qsvghandler.cpp.orig	2023-10-02 03:05:52 UTC
2
+++ src/svg/qsvghandler.cpp
3
@@ -3606,6 +3606,8 @@ static bool detectCycles(const QSvgNode *node, QList<c
4
 
5
 static bool detectCycles(const QSvgNode *node, QList<const QSvgUse *> active = {})
6
 {
7
+    if (Q_UNLIKELY(!node))
8
+        return false;
9
     switch (node->type()) {
10
     case QSvgNode::DOC:
11
     case QSvgNode::G:

Return to bug 275350