Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
3
-
d76bf64531 (qt/qtbase/dev) d76bf64531 (qt/tqtc-qtbase/dev) 9d036b0c67 (qt/qtbase/6.4) 9d036b0c67 (qt/tqtc-qtbase/6.4) adb3b51eb4 (qt/tqtc-qtbase/6.2) 1fe0b3a7ec (qt/qtbase/6.3) 1fe0b3a7ec (qt/tqtc-qtbase/6.3)
-
Foundation Sprint 61, Foundation Sprint 62
Description
This code fails on 64-bit platforms:
const QByteArray b1 = ~~~ more than 2GiB of data ~~~; const QByteArray b64 = b1.toBase64(); const QByteArray b2 = QByteArray::fromBase64Encoding(b64); assert(b1 == b2);
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-104985 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
421908,2 | tst_QByteArray: fix custom QCOMPARE for QBAs > 2GiB | dev | qt/qtbase | Status: MERGED | +2 | 0 |
421912,5 | QByteArray: fix base64 round-trip w/more than 2GiB data | dev | qt/qtbase | Status: MERGED | +2 | 0 |
422061,1 | QByteArray: remove a cast to int() | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
422821,2 | tst_QByteArray: fix custom QCOMPARE for QBAs > 2GiB | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
422822,2 | tst_QByteArray: fix custom QCOMPARE for QBAs > 2GiB | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
422878,2 | tst_QByteArray: fix custom QCOMPARE for QBAs > 2GiB | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
423691,2 | QByteArray: fix base64 round-trip w/more than 2GiB data | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
423692,3 | QByteArray: fix base64 round-trip w/more than 2GiB data | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
423706,4 | QByteArray: fix base64 round-trip w/more than 2GiB data | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |