fix invalid read
This commit is contained in:
parent
b0f6709474
commit
d3cfa97740
|
@ -1910,7 +1910,7 @@ static void* cliWorkThread(void* arg) {
|
|||
|
||||
char threadName[TSDB_LABEL_LEN] = {0};
|
||||
STrans* pInst = pThrd->pTransInst;
|
||||
strntolower(threadName, pInst->label, sizeof(threadName));
|
||||
strtolower(threadName, pInst->label);
|
||||
setThreadName(threadName);
|
||||
|
||||
uv_run(pThrd->loop, UV_RUN_DEFAULT);
|
||||
|
|
Loading…
Reference in New Issue