qt6-bb10/tests/auto/corelib/serialization/qcborstreamreader
Thiago Macieira 783d574b93 CBOR support: prevent overflowing QByteArray's max allocation
QByteArray doesn't like it.

Apply the same protection to QString, which we know uses the same
backend but uses elements twice as big. That means it can contain
slightly more than half as many elements, but exact half will suffice
for our needs.

Change-Id: Iaa63461109844e978376fffd15f9d4c7a9137856
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2020-03-27 16:45:48 -03:00
..
qcborstreamreader.pro CBOR support: prevent overflowing QByteArray's max allocation 2020-03-27 16:45:48 -03:00
tst_qcborstreamreader.cpp CBOR support: prevent overflowing QByteArray's max allocation 2020-03-27 16:45:48 -03:00