Fixed Serializer::WriteStr.
This commit is contained in:
parent
1fd9c63cfe
commit
b4674bd94c
@ -405,7 +405,9 @@ namespace ehs
|
||||
inSize++;
|
||||
|
||||
N bSize = sizeof(T) * inSize;
|
||||
N bSizeN = sizeof(T) * (inSize + 1);
|
||||
N bSizeN = bSize;
|
||||
if (!sizeKnown)
|
||||
bSizeN += sizeof(T);
|
||||
|
||||
if (bSizeN > size - offset)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user