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