Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
1
-
84e15f662e (qt/qtbase/dev) 84e15f662e (qt/tqtc-qtbase/dev)
-
Foundation Sprint 61
Description
This code fails on 64-bit platforms:
const QByteArray b(qsizetype(INT_MAX) + 1, 'A'); assert(b.count('A') == b.size());
There's some truncation going on.
Attachments
Issue Links
- resulted from
-
QTBUG-103531 Finish migration to qsizetype [qtbase/src/corelib/text]
-
- Closed
-
For Gerrit Dashboard: QTBUG-105027 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
422246,2 | QByteArray: fix count(ch) for more than 2Gi occurrences | dev | qt/qtbase | Status: MERGED | +2 | 0 |
422872,1 | QByteArray: fix count(ch) for more than 2Gi occurrences | 6.4 | qt/qtbase | Status: ABANDONED | 0 | 0 |
422873,1 | QByteArray: fix count(ch) for more than 2Gi occurrences | 6.3 | qt/qtbase | Status: ABANDONED | 0 | 0 |
422893,2 | QByteArray: fix count(ch) for more than 2Gi occurrences | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |