https://bugs.kde.org/show_bug.cgi?id=439592
--- Comment #18 from Igor Kushnir <igor...@gmail.com> ---
(In reply to Igor Kushnir from comment #17)
> The line in KDevelop code where the crash occurs (cmakelistsparser.cpp:180):
>     func.arguments << CMakeFunctionArgument(
> QString::fromLocal8Bit(token->text, token->length), false, token->line,
> token->column );
> 
> token->text has type char*, that is a null-terminated string, which by
> definition cannot contain null characters in the middle.
Sorry, my mistake: token->length contains the size of the string, so this code
looks OK. But there could still be a bug in the upstream CMake code embedded in
KDevelop or in the way it was modified to integrate with Qt. Perhaps updating
it to the current version would fix null-terminated string support.

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

Reply via email to