未验证 提交 fd891ad0 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

[TD-5790]<fix>: taosdemo memory corrupted. (#7169)

上级 d5adb474
......@@ -5183,7 +5183,7 @@ static int64_t generateStbRowData(
dataLen += 1;
}
if (dataLen > remainderBufLen)
if (dataLen > (remainderBufLen - (DOUBLE_BUFF_LEN + 1)))
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册