mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-23 01:18:58 +00:00
Bugfix for heap-use-after-free in concurrent packet processing code (manifests only after terminate() is called)
This commit is contained in:
@ -625,6 +625,8 @@ public:
|
|||||||
break;
|
break;
|
||||||
if (!pkt)
|
if (!pkt)
|
||||||
break;
|
break;
|
||||||
|
if (!_run)
|
||||||
|
break;
|
||||||
|
|
||||||
const ZT_ResultCode rc = _node->processWirePacket(nullptr,pkt->now,pkt->sock,&(pkt->from),pkt->data,pkt->size,&_nextBackgroundTaskDeadline);
|
const ZT_ResultCode rc = _node->processWirePacket(nullptr,pkt->now,pkt->sock,&(pkt->from),pkt->data,pkt->size,&_nextBackgroundTaskDeadline);
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user