FreeBSD Bugzilla – Attachment 246579 Details for
Bug 275350
graphics/qt6-svg: null dereference crash when launching telegram-desktop after 6.6.0 upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch v1
qt6-svg.diff (text/plain), 948 bytes, created by
Guido Falsi
on 2023-11-26 11:59:37 UTC
(
hide
)
Description:
patch v1
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2023-11-26 11:59:37 UTC
Size:
948 bytes
patch
obsolete
>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<c >+ >+ static bool detectCycles(const QSvgNode *node, QList<const QSvgUse *> active = {}) >+ { >++ if (Q_UNLIKELY(!node)) >++ return false; >+ switch (node->type()) { >+ case QSvgNode::DOC: >+ case QSvgNode::G:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275350
: 246579