未验证 提交 393d979e 编写于 作者: S slguan 提交者: GitHub

Merge pull request #1749 from taosdata/hotfix/fix-read-from-pointer-after-free-mgmtTable

fix read from pointer after free in mgmtTable.c
......@@ -431,8 +431,8 @@ static int32_t mgmtSuperTableActionUpdate(SSdbOper *pOper) {
void *oldSchema = pTable->schema;
memcpy(pTable, pNew, pOper->rowSize);
pTable->schema = pNew->schema;
free(pNew);
free(pNew->vgList);
free(pNew);
free(oldSchema);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册