mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Fix use of deleted Regex copy constructor in LMDB code
Bug introduced in ad28de4f
. Fixes #2008.
This commit is contained in:
@@ -538,7 +538,7 @@ void LMDB::resolveRegularExpression(const std::string& var,
|
||||
MDB_cursor *cursor;
|
||||
size_t pos;
|
||||
|
||||
Utils::Regex r = Utils::Regex(var);
|
||||
Utils::Regex r(var);
|
||||
|
||||
rc = mdb_txn_begin(m_env, NULL, 0, &txn);
|
||||
lmdb_debug(rc, "txn", "resolveRegularExpression");
|
||||
|
Reference in New Issue
Block a user