From 4d0615f14d06bb876284695cab4ea79108fcda92 Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Mon, 21 Jun 2021 19:12:00 +0100 Subject: [PATCH] Patch a security vulnerability in QtSVG. I remeasured Qt to accound for gcc-11.1.0. --- introduction/welcome/changelog.xml | 10 ++++++++++ x/lib/qt5.xml | 20 ++++++++++++++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 7fee943317..e2e3601b98 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -42,6 +42,16 @@ --> + + June 21st, 2021 + + + [ken] - Patch Qt-5.15.2 (security fix re qtsvg). Fixes + #15197. + + + + June 20th, 2021 diff --git a/x/lib/qt5.xml b/x/lib/qt5.xml index 5e0249120a..c339d0b77b 100644 --- a/x/lib/qt5.xml +++ b/x/lib/qt5.xml @@ -11,7 +11,7 @@ - + ]> @@ -77,6 +77,16 @@ + Additional Downloads + + + + Required patch: + + + + + Qt5 Dependencies Required @@ -246,7 +256,13 @@ ln -sfnv qt-&qt5-version; /opt/qt5 - First fix some issues using gcc-11: + First apply a patch to fix an Out Of Bounds read in QtSVG: + + +patch -Np1 -i ../qt-everywhere-src-&qt5-version;-CVE-2021-3481-1.patch + + + Next fix some issues using gcc-11: sed -i '/utility/a #include <limits>' qtbase/src/corelib/global/qglobal.h &&