diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-09-09 22:35:24 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-09-10 12:49:59 +0000 |
commit | 42f1166a7f2bba2b198e54c7c7c7879e885f2d5a (patch) | |
tree | db454e90d4554b3ca3ea6d47545b91cd49c4352e /config.tests | |
parent | 44c6daf7b163eeee346f555731b74854450804b5 (diff) |
Avoid crash in QTextMarkdownWriter::writeBlock()
The inner loop would go out of bounds whenever it tried to find the end
of a run of spaces in a fragment that contained only spaces.
Fixes: QTBUG-104999
Change-Id: I5dda03b31194fff12f6052c458a0eb85d0be5c2b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 9807c4e5afc953444a4b5a161ceb31c68fdf2484)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions