[TD-225]fix potential char array overflow.

This commit is contained in:
Haojun Liao 2021-01-13 11:36:30 +08:00
parent 11ace7f5c0
commit f9c5e33531
1 changed files with 1 additions and 0 deletions

View File

@ -6094,6 +6094,7 @@ void tscPrintSelectClause(SSqlObj* pSql, int32_t subClauseIndex) {
}
str[offset] = ']';
assert(offset < totalBufSize);
tscDebug("%p select clause:%s", pSql, str);
}