Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.10.0 Beta2
-
None
-
13
-
4806a5a85 (dev), 6f4d64b21 (dev), ea092bd76 (6.10), cd3e0bdb5 (6.10), 816f4dfd2 (6.9), 814624948 (6.9), f1c3af04a (dev), cd64c8080 (6.10), 02ed0c776 (6.9)
-
Foundation Sprint 134, Foundation Sprint 135
Description
The code simply assumes that it can stuff QString::size() into an int32_t and even add 25% on top. In reality, this truncates, with potentially nasty consequences, depending on how ICU handles things.
Attachments
Issue Links
- relates to
-
QTBUG-138630 QLocale::toUpper() is not 64-bit-safe on Windows
-
- Reported
-
- resulted from
-
QTBUG-135195 Review qtbase/src/corelib/text
-
- In Progress
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-138583 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
663066,2 | QStringIterator: long live resync{Forward,Backward}()! | dev | qt/qtbase | Status: NEW | 0 | 0 |
663068,2 | QLocale/ICU: work around 32-bit limitation of toUpper/Lower() | dev | qt/qtbase | Status: NEW | -1 | +1 |
663069,2 | QLocale/ICU: increase the toUpper/Lower chunk size to INT_MAX/4 | dev | qt/qtbase | Status: NEW | 0 | 0 |
663782,2 | tst_QLocale::toLowerUpper(): also test long Türkiye ı,İ sequences | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: NEW | +1 | 0 |
663785,2 | QLocale/ICU: don't take addresses of ICU functions | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: NEW | +1 | 0 |
664355,2 | QLocale/ICU: static_assert(is_same<UChar,char16_t>) and remove casts | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: NEW | +1 | 0 |