CheckBufferOverrun: Fixed crash. The crash occured in ThreadHandler in the deserialize() function. Probably because " was used in error message.
This commit is contained in:
parent
6afe9a4fbe
commit
4d0189c672
|
@ -1541,7 +1541,7 @@ void CheckBufferOverrun::checkStringArgument()
|
|||
if (!minsizes)
|
||||
continue;
|
||||
if (checkMinSizes(*minsizes, tok, Token::getStrLength(argtok), nullptr))
|
||||
bufferOverrunError(argtok, argtok->str());
|
||||
bufferOverrunError(argtok);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue