fix UAF
This commit is contained in:
parent
df15c92aba
commit
071f4080eb
|
@ -1083,10 +1083,9 @@ SClientHbBatchReq *hbGatherAllInfo(SAppHbMgr *pAppHbMgr) {
|
|||
}
|
||||
}
|
||||
|
||||
releaseTscObj(connKey->tscRid);
|
||||
|
||||
int64_t ver = atomic_load_64(&pTscObj->whiteListInfo.ver);
|
||||
maxIpWhiteVer = MAX(maxIpWhiteVer, ver);
|
||||
releaseTscObj(connKey->tscRid);
|
||||
}
|
||||
pBatchReq->ipWhiteList = maxIpWhiteVer;
|
||||
|
||||
|
|
Loading…
Reference in New Issue