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
parent 23996c7e6b
commit 82a21d4b71

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);
{