Fix race condition in UniqueId::uniqueId()

This commit is contained in:
Wenfeng Liu
2018-05-25 09:10:23 +00:00
committed by Felipe Zimmerle
parent b586fa9c1a
commit b85a645610
2 changed files with 7 additions and 2 deletions

View File

@@ -55,6 +55,8 @@
namespace modsecurity {
std::once_flag UniqueId::onceFlag;
void UniqueId::fillUniqueId() {
std::string macAddress;
std::string name;