Bugfix for heap-use-after-free in concurrent packet processing code (manifests only after terminate() is called)

This commit is contained in:
Joseph Henry 2019-01-30 22:29:51 -08:00 committed by Grant Limberg
parent 541e91ed8e
commit d0f78f1e03

View File

@ -625,6 +625,8 @@ public:
break;
if (!pkt)
break;
if (!_run)
break;
const ZT_ResultCode rc = _node->processWirePacket(nullptr,pkt->now,pkt->sock,&(pkt->from),pkt->data,pkt->size,&_nextBackgroundTaskDeadline);
{