diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-17 09:38:22 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-18 03:56:40 +0000 |
commit | a59e7361714d50687d82a2d9abae9e95825a23b6 (patch) | |
tree | 0bf9d422eea1f40009665aceebfc0c27b693fc7c /src/corelib/doc/snippets/code/src_corelib_text_qbytearray.cpp | |
parent | 9ab44777d6818a50cb02d745ff3eaf6b07adb394 (diff) |
QMetaType: add a missing check for null d_ptr
Bug introduced in 6.0. This is the only unprotected d_ptr I could find.
[ChangeLog][QtCore][QMetaType] Fixed a bug that would cause
QMetaType::compare() and QVariant::compare() to crash on invalid meta
types and variants.
Pick-to: 6.2 6.3
Fixes: QTBUG-99960
Change-Id: I0e5f6bec596a4a78bd3bfffd16cb1f7b2d146688
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets/code/src_corelib_text_qbytearray.cpp')
0 files changed, 0 insertions, 0 deletions