未验证 提交 21a9797d 编写于 作者: H haojun Liao 提交者: GitHub

Merge pull request #5822 from taosdata/hotfix/TD-3732

[TD-3732]mem overflow issue
......@@ -6326,7 +6326,7 @@ void tscPrintSelectClause(SSqlObj* pSql, int32_t subClauseIndex) {
int32_t totalBufSize = 1024;
char str[1024] = {0};
char str[1024+1] = {0};
int32_t offset = 0;
offset += sprintf(str, "num:%d [", size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册