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

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

上级 89197888
......@@ -5182,7 +5182,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.
先完成此消息的编辑!
想要评论请 注册