summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/xml-1.1/valid/P07/CVS/Root
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-06-15 09:17:25 -0700
committerThiago Macieira <thiago.macieira@intel.com>2024-06-17 12:06:16 -0700
commit8ac57ff6bc778519bb1edc4036ce79ab8f688e27 (patch)
tree77519f5a7cabbaa3c3c22c135329e9f9cf492674 /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/xml-1.1/valid/P07/CVS/Root
parent34089abeeac14a6437851530aa25f8b31a22acf1 (diff)
QBitArray: fix read of uninitialized terminating nullHEADdev
Commit 54c373faa4f9582fd09a802727821fd544a7b2c5 updated the bitwise operations to be more efficient, bypassing QByteArray and going straight to QByteArrayData (a.k.a. QArrayDataPointer<char>). This meant we also bypassed the initialization of the null terminator. This wasn't caught in our unit testing and with some runtimes because the memory we allocated happened to be zero or contain the information we wanted. But with Visual Studio, the debug-mode runtime initializes all newly allocated memory with pattern 0xcd, which showed up as a problem. [ChangeLog][QtCore][QBitArray] Fixed a regression introduced in 6.7.0 that could cause QBitArray to report wrong bit counts after a bitwise operation. Pick-to: 6.7 6.8 Fixes: QTBUG-126343 Change-Id: Icdc467f26dea4b05ad90fffd17d939c3b416adca Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/xml-1.1/valid/P07/CVS/Root')
0 files changed, 0 insertions, 0 deletions