correct heap use-after-free in ServerConnectionManager during stopAll();

pull/121/head
Bryan Biedenkapp 2 months ago
parent 5e2356162c
commit e47524a21c

@ -77,10 +77,10 @@ namespace restapi
*/
void stopAll()
{
std::lock_guard<std::mutex> guard(m_lock);
for (auto c : m_connections)
c->stop();
std::lock_guard<std::mutex> guard(m_lock);
m_connections.clear();
}

Loading…
Cancel
Save

Powered by TurnKey Linux.