Merge pull request #5822 from taosdata/hotfix/TD-3732
[TD-3732]mem overflow issue
This commit is contained in:
commit
21a9797dfa
|
@ -6326,7 +6326,7 @@ void tscPrintSelectClause(SSqlObj* pSql, int32_t subClauseIndex) {
|
||||||
|
|
||||||
int32_t totalBufSize = 1024;
|
int32_t totalBufSize = 1024;
|
||||||
|
|
||||||
char str[1024] = {0};
|
char str[1024+1] = {0};
|
||||||
int32_t offset = 0;
|
int32_t offset = 0;
|
||||||
|
|
||||||
offset += sprintf(str, "num:%d [", size);
|
offset += sprintf(str, "num:%d [", size);
|
||||||
|
|
Loading…
Reference in New Issue