summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtsvg/files/qtsvg-6.6.0-invalid-svg-crash.patch')
-rw-r--r--dev-qt/qtsvg/files/qtsvg-6.6.0-invalid-svg-crash.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-qt/qtsvg/files/qtsvg-6.6.0-invalid-svg-crash.patch b/dev-qt/qtsvg/files/qtsvg-6.6.0-invalid-svg-crash.patch
deleted file mode 100644
index 8c8bf90652e8..000000000000
--- a/dev-qt/qtsvg/files/qtsvg-6.6.0-invalid-svg-crash.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Update:
- What this fixes was later assigned CVE-2023-45872
- https://lists.qt-project.org/pipermail/development/2023-October/044577.html
-
-https://bugs.gentoo.org/915582
-https://bugreports.qt.io/browse/QTBUG-117944
-https://codereview.qt-project.org/c/qt/qtsvg/+/510692
-https://github.com/qt/qtsvg/commit/effc44495a33babd4cf7a2044123f420e6b3da1c
-From: Paul Olav Tvete <paul.tvete@qt.io>
-Date: Tue, 10 Oct 2023 10:14:22 +0200
-Subject: [PATCH] Fix nullptr dereference with invalid SVG
---- a/src/svg/qsvghandler.cpp
-+++ b/src/svg/qsvghandler.cpp
-@@ -3606,6 +3606,8 @@ void QSvgHandler::init()
-
- 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: