Commit ec24614f authored by David Schulz's avatar David Schulz
Browse files

CdbExt: Fix dump of QString when array size equals full size.



Task-number: QTCREATORBUG-10679

Change-Id: I594e52297cd65b15eabb5a5f29363c925708f00b
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 539ba9ed
......@@ -1534,7 +1534,7 @@ bool readQt5StringData(const SymbolGroupValue &dV, int qtMajorVersion,
if (!memory)
return false;
*array = reinterpret_cast<CharType *>(memory);
if ((*arraySize < *fullSize) && zeroTerminated)
if ((*arraySize <= *fullSize) && zeroTerminated)
*(*array + *arraySize) = CharType(0);
return true;
}
......
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