Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
QSR 2.0
-
None
-
65e95e2e9 (dev), f68418d48 (6.5)
Description
See the function const QSafeByteArray QSafeLayoutFileReader::readDataFromFile(const qchar * const filenameArg):
const quint32 maxLayoutFileSize = (Constraints::MAX_ITEM_COUNT*2U*Constraints::LAYOUTDATA_SIZE_V3)+Constraints::LAYOUTDATA_HEADER_SIZE;
The calculated max size for the file is 72728 bytes but in the max capacity test where there are 128 items with fillcolor value and max amount states the file size is actually 327192.
That makes the layout validation to fail.
Attachments
For Gerrit Dashboard: QSR-1762 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
471338,22 | Read states file in a smaller chunks | dev | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |
480798,3 | Read states file in a smaller chunks | 6.5 | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |