diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2017-06-08 12:47:49 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2017-09-12 07:25:07 +0000 |
commit | dfd70f4768b24b9885818e8df8fb9adffbe23477 (patch) | |
tree | 41a44b8b68c5333d9842b2aa87ab867a55129681 /src/virtualkeyboard/content/styles | |
parent | dd8c39ea9312ec1441b3fdd830f9d42fe3258b58 (diff) |
SelectionListModel: Fix use after free
Calling InputEngine::setInputMethod(null) did not clear the pointer
value stored in SelectionListModelPrivate.
Also, in case the input method is destroyed without setting it null,
prevent use of dangling pointer in selection list model by using
QPointer.
Task-number: QTBUG-61308
Change-Id: If340d99a63489c54414497c61cd482e06a21c5ee
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/virtualkeyboard/content/styles')
0 files changed, 0 insertions, 0 deletions