Merge pull request #26345 from taosdata/fix/TD-30843
fix(tsdb/retention): fix null pointer crash (uaf)
This commit is contained in:
commit
88a24c5457
|
@ -361,7 +361,7 @@ _exit:
|
||||||
TARRAY2_DESTROY(&rtner.fopArr, NULL);
|
TARRAY2_DESTROY(&rtner.fopArr, NULL);
|
||||||
taosMemoryFree(arg);
|
taosMemoryFree(arg);
|
||||||
if (code) {
|
if (code) {
|
||||||
tsdbError("vgId:%d, %s failed, code:%d, line:%d", TD_VID(((SRtnArg *)arg)->tsdb->pVnode), __func__, code, lino);
|
tsdbError("vgId:%d, %s failed, code:%d, line:%d", TD_VID(pTsdb->pVnode), __func__, code, lino);
|
||||||
}
|
}
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue