Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10.0 Beta2
-
None
Description
The code simply assumes that it can stuff QString::size() into an int parameter of LCMapString. In reality, this silently truncates, and may process only the first size() mod (INT_MAX+1) code points, failing the function's post-condition.
git-blame fingers https://codereview.qt-project.org/c/qt/qtbase/+/476728 CC ulherman
Attachments
Issue Links
- relates to
-
QTBUG-138629 qlocale_win's toUpper/Lower is using LCMapString when the docs recommend LCMapStringEx
-
- Reported
-
-
QTBUG-138583 QLocale::toUpper() is not 64-bit-safe on ICU
-
- In Review
-
- resulted from
-
QTBUG-135195 Review qtbase/src/corelib/text
-
- In Progress
-