diff options
author | 2024-05-03 02:34:23 +0200 | |
---|---|---|
committer | 2024-05-02 17:58:13 -0700 | |
commit | 062236cf874509ab4640351ec35a277b7e61d0c2 (patch) | |
tree | 1ba955c6b8b894ba8396bc395a475a585e6277ef | |
parent | dev-lang/python: drop 3.9.18_p2, 3.9.19, 3.10.13_p3, 3.10.14 (diff) | |
download | libressl-062236cf874509ab4640351ec35a277b7e61d0c2.tar.gz libressl-062236cf874509ab4640351ec35a277b7e61d0c2.tar.bz2 libressl-062236cf874509ab4640351ec35a277b7e61d0c2.zip |
dev-qt/qtbase: upstream sync
Signed-off-by: Saki Xi <space_raccoon@riseup.net>
Closes: https://github.com/gentoo/libressl/pull/558
Signed-off-by: orbea <orbea@riseup.net>
-rw-r--r-- | dev-qt/qtbase/files/qtbase-6.7.0-CVE-2024-33861.patch | 23 | ||||
-rw-r--r-- | dev-qt/qtbase/qtbase-6.7.0-r2.ebuild (renamed from dev-qt/qtbase/qtbase-6.7.0-r1.ebuild) | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-qt/qtbase/files/qtbase-6.7.0-CVE-2024-33861.patch b/dev-qt/qtbase/files/qtbase-6.7.0-CVE-2024-33861.patch new file mode 100644 index 0000000..0a73d72 --- /dev/null +++ b/dev-qt/qtbase/files/qtbase-6.7.0-CVE-2024-33861.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/931096 +https://www.qt.io/blog/security-advisory-qstringconverter +https://codereview.qt-project.org/c/qt/qtbase/+/556191 +--- a/src/corelib/text/qstringconverter.cpp ++++ b/src/corelib/text/qstringconverter.cpp +@@ -1954,7 +1954,7 @@ struct QStringConverterICU : QStringConverter + const void *context; + ucnv_getToUCallBack(icu_conv, &action, &context); + if (context != state) +- ucnv_setToUCallBack(icu_conv, action, &state, nullptr, nullptr, &err); ++ ucnv_setToUCallBack(icu_conv, action, state, nullptr, nullptr, &err); + + ucnv_toUnicode(icu_conv, &target, targetLimit, &source, sourceLimit, nullptr, flush, &err); + // We did reserve enough space: +@@ -1987,7 +1987,7 @@ struct QStringConverterICU : QStringConverter + const void *context; + ucnv_getFromUCallBack(icu_conv, &action, &context); + if (context != state) +- ucnv_setFromUCallBack(icu_conv, action, &state, nullptr, nullptr, &err); ++ ucnv_setFromUCallBack(icu_conv, action, state, nullptr, nullptr, &err); + + ucnv_fromUnicode(icu_conv, &target, targetLimit, &source, sourceLimit, nullptr, flush, &err); + // We did reserve enough space: diff --git a/dev-qt/qtbase/qtbase-6.7.0-r1.ebuild b/dev-qt/qtbase/qtbase-6.7.0-r2.ebuild index fb2a882..50d8950 100644 --- a/dev-qt/qtbase/qtbase-6.7.0-r1.ebuild +++ b/dev-qt/qtbase/qtbase-6.7.0-r2.ebuild @@ -142,6 +142,7 @@ PATCHES=( "${FILESDIR}"/${PN}-6.6.3-gcc14-avx512fp16.patch "${FILESDIR}"/${PN}-6.6.3-pkgconf-deps.patch "${FILESDIR}"/${PN}-6.7.0-qspan-ifdef.patch + "${FILESDIR}"/${PN}-6.7.0-CVE-2024-33861.patch ) src_prepare() { |