[TD-5790]<fix>: taosdemo memory corrupted. (#7159)
This commit is contained in:
parent
bef8b0b29f
commit
b51cba2601
|
@ -5181,7 +5181,7 @@ static int64_t generateStbRowData(
|
|||
dataLen += 1;
|
||||
}
|
||||
|
||||
if (dataLen > remainderBufLen)
|
||||
if (dataLen > (remainderBufLen - (DOUBLE_BUFF_LEN + 1)))
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue