diff options
author | Evgeniy A. Dushistov <dushistov@mail.ru> | 2020-08-20 00:33:18 +0300 |
---|---|---|
committer | Evgeniy A. Dushistov <dushistov@mail.ru> | 2020-08-20 17:35:02 +0300 |
commit | 68199cec0e47ff15e8e9b2708441e46cc7c48b84 (patch) | |
tree | 3abc4eed0dd75e04c4f6101ae8cbc5cc453a6f13 /.tag | |
parent | 353fb2226b1a48252ff6e43d404c725f9936e0cf (diff) |
QQmlObjectCreator: fix member func call with this == nullptr
The test example is based on
qtvirtualkeyboard/src/virtualkeyboard/content/components/PopupList.qml
Luckily ((QQmlPropertyCache *)nullptr) -> property(-1)
is ended without access to this, so this was not caught before.
But this is UB, plus I can not run Qt and my application compiled with
-fsanitizer=X, because of it crashed after the first member function
call with nullptr as this
Pick-to: 5.15
Fixes: QTBUG-85605
Change-Id: If6a71fde9a14cc4f73139dfa0e6ee3005453104d
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to '.tag')
0 files changed, 0 insertions, 0 deletions