Commit 23fd6730 authored by Sergey Shambir's avatar Sergey Shambir

Autotools: fixed crash in Debug build

Method parseIdentifierBeforeAssign attempts to read null-terminating
symbol after end in some cases, it triggers assertion.

Change-Id: I1a4bc9ef290d2f09e7f9052f14466bacf957fe7a
Reviewed-by: default avatarDaniel Teske <>
parent 659470f9
......@@ -421,7 +421,7 @@ QString MakefileParser::parseIdentifierBeforeAssign(const QString &line)
QString ret = line.left(end);
while (end < line.size() && line[end].isSpace())
return (line[end] == QLatin1Char('=')) ? ret : QString();
return (end < line.size() && line[end] == QLatin1Char('=')) ? ret : QString();
void MakefileParser::addAllSources()
Markdown is supported
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