qt6-bb10/tests/auto/corelib
Thiago Macieira 8a5267e4d9 Plugins: fix crash if the binary JSON data contains invalid size
Eight bytes into the Binary JSON header there's a 32-bit little-endian
size, which qJsonFromRawLibraryMetaData uses to determine the size of
the stored metadata. That value is passed as a size to QByteArray, which
means certain values could cause crashes due to being too big or via
sign-extension in 64-bit.

[ChangeLog][QtCore][QPluginLoader] Fixed an issue that could cause a
crash when certain damaged or corrupt plugin files were scanned.

Change-Id: I117816bf0f5e469b8d34fffd153dc5425cec39a7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2018-07-19 07:27:02 +00:00
..
animation qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
codecs Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
global Android: fix tst_qlogging 2018-06-28 07:29:30 +00:00
io Android: Make tst_qfile pass 2018-06-28 07:31:27 +00:00
itemmodels QSortFilterProxyModel unittest: add test for filtered-out-after-setData 2018-06-28 07:00:00 +00:00
kernel Fix metatype trait for types that are both QObject and Q_GADGET 2018-06-30 13:23:03 +00:00
mimetypes QMimeDatabase: fix assert when fetching data for invalid mimetype 2018-04-06 07:19:01 +00:00
plugin Plugins: fix crash if the binary JSON data contains invalid size 2018-07-19 07:27:02 +00:00
serialization QJsonDocument: Avoid overflow of string lengths 2018-05-14 10:52:47 +00:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread tst_qthreadpool: Skip "stackSize" if unsupported 2018-06-27 17:40:28 +00:00
tools Fix regression in QPointF::operator== 2018-07-09 15:38:31 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00