Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1, 5.4.0
-
None
-
All Platforms, now checked with Linux
Description
cursorToX crashes if cursorPos exceeds line width.
Internally "itm = eng->findItem(pos);" can delivers -1 (not found), but itm is directly used as index for a QVector.
Attachments
For Gerrit Dashboard: QTBUG-40753 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
93435,2 | Fix crash in QTextLayout::cursorToX | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |