fix:heap use after free
This commit is contained in:
parent
f1baed79b4
commit
efb472d54a
|
@ -219,6 +219,7 @@ int32_t tqFetchLog(STQ* pTq, STqHandle* pHandle, int64_t* fetchOffset, uint64_t
|
||||||
goto END;
|
goto END;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pHead = &(pHandle->pWalReader->pHead->head);
|
||||||
if (isValValidForTable(pHandle, pHead)) {
|
if (isValValidForTable(pHandle, pHead)) {
|
||||||
code = 0;
|
code = 0;
|
||||||
goto END;
|
goto END;
|
||||||
|
|
Loading…
Reference in New Issue