You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.2 KiB
24 lines
1.2 KiB
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:
|