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

--- Comment #17 from Kevin Funk <kf...@kde.org> ---
Some comments from the dup:

"""
I found the problem, and it's actually similar, but not the same as bug 363269.
The code base being parsed contains a subfolder with example text in a couple
of different asian languages, all stored as .txt files in UTF16LE. The cmake
parser seems to not just read CMakeLists.txt and *.cmake, but also generally
all files with the extension .txt. Apparently the encoding of the example files
is handled correctly, but then the wide characters are given to the lexer that
expects chars, hence the one byte buffer overflow reported (just my guess,
didn't have a look at all the code involved).

If I delete all the UTF16 files, the whole code base is processed successfully.
"""

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

Reply via email to