qt6-bb10/tests/auto/corelib/serialization
Thiago Macieira 798492ccee QCborValue: catch overflow in QByteArray when decoding chunked strings
We checked against integer overflow, but not against overflowing the
QByteArray size limit. That caused a std::bad_alloc to be thrown, which
is bad when decoding unknown data. QCborStreamReader wasn't affected,
since it doesn't merge chunks.

Change-Id: I99ab0f318b1c43b89888fffd160c36f495fada87
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-05-07 07:39:26 -07:00
..
json Fix data corruption regression in QJsonObject::erase() 2020-04-23 13:42:01 +02:00
qcborstreamreader CBOR support: prevent overflowing QByteArray's max allocation 2020-03-27 16:45:48 -03:00
qcborstreamwriter Long live QCborStreamWriter! 2018-05-27 22:41:41 +00:00
qcborvalue QCborValue: catch overflow in QByteArray when decoding chunked strings 2020-05-07 07:39:26 -07:00
qcborvalue_json QCborValue: move the toDiagnosticNotation() function to its own file 2018-07-30 16:21:12 +00:00
qdatastream Add default arguments to QPainterPath methods using transform 2020-03-06 21:09:48 +01:00
qdatastream_core_pixmap Tidy up data-stream test 2019-10-25 11:44:13 +02:00
qtextstream Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qxmlstream Add an expansion limit for entities 2020-02-26 22:08:38 +01:00
cborlargedatavalidation.cpp QCborValue: catch overflow in QByteArray when decoding chunked strings 2020-05-07 07:39:26 -07:00
serialization.pro Exclude tests that need GUI when GUI isn't available 2019-10-25 11:42:09 +02:00