[TD-225]fix potential char array overflow.
This commit is contained in:
parent
11ace7f5c0
commit
f9c5e33531
|
@ -6094,6 +6094,7 @@ void tscPrintSelectClause(SSqlObj* pSql, int32_t subClauseIndex) {
|
|||
}
|
||||
|
||||
str[offset] = ']';
|
||||
assert(offset < totalBufSize);
|
||||
tscDebug("%p select clause:%s", pSql, str);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue