https://bugs.kde.org/show_bug.cgi?id=506570

--- Comment #18 from Stefan Brüns <stefan.bru...@rwth-aachen.de> ---
Git commit d97f3f832f31a89f5ca4ee058043003bc1474223 by Stefan Brüns.
Committed on 14/07/2025 at 12:13.
Pushed by bruns into branch 'master'.

[TermGenerator] Check input text validity

In case the supplied text contains invalid surrogates (i.e. single
low surrogates or without preceding high surrogate), the text is not
valid unicode. This can also cause QString::toUtf8() to return an
empty QByteArray.
Related: bug 506187

M  +43   -0    autotests/unit/engine/termgeneratortest.cpp
M  +12   -3    src/engine/termgenerator.cpp
A  +50   -0    src/engine/termgenerator_p.h     [License: LGPL(v2.1+)]

https://invent.kde.org/frameworks/baloo/-/commit/d97f3f832f31a89f5ca4ee058043003bc1474223

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to