Skip to content
Commit 426fabe0 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix crash in UnicodeGroupProber::HandleData with short strings

len needs to be >= 2 since we always access aBuf[1]

Fixes crash in https://build.kde.org/job/ktexteditor%20master%20kf5-qt5/PLATFORM=Linux,compiler=gcc/87/testReport/junit/%28root%29/TestSuite/encoding_one_char_latin_15_txt_create/

Backport of review 125340
parent 50d8aa71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment