diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-07-23 16:59:22 +0200 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-07-27 23:02:33 +0200 |
| commit | b71c8eb3864f36ba7bafce1fcb7c7caee67f4405 (patch) | |
| tree | d5bf74165249f8cf307a3e5215cb21a721906882 /src/plugins/generic/tslib/main.cpp | |
| parent | a77c159044ce54fbdabaef088290771143ca5c2c (diff) | |
QCompleter: fix an out of bounds access in a QMap
If the iterator points to the map's begin(), then one can't
decrement it. Split the check and the decrement.
Change-Id: I3d816f13d0bcacc8253ba6d223bc83c874e5efb5
Pick-to: 5.15
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/plugins/generic/tslib/main.cpp')
0 files changed, 0 insertions, 0 deletions
