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