mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 10:20:35 +03:00
Fix assorted memory and static analysis errors
This commit is contained in:
committed by
Felipe Zimmerle
parent
8d0583eda4
commit
e95efa05cc
@@ -48,7 +48,7 @@ class Tx_DictElement : public Variable {
|
||||
|
||||
class Tx_NoDictElement : public Variable {
|
||||
public:
|
||||
explicit Tx_NoDictElement()
|
||||
Tx_NoDictElement()
|
||||
: Variable("TX") { }
|
||||
|
||||
void evaluate(Transaction *transaction,
|
||||
@@ -61,7 +61,7 @@ class Tx_NoDictElement : public Variable {
|
||||
|
||||
class Tx_DictElementRegexp : public Variable {
|
||||
public:
|
||||
Tx_DictElementRegexp(std::string dictElement)
|
||||
explicit Tx_DictElementRegexp(std::string dictElement)
|
||||
: Variable("TX"),
|
||||
m_r(dictElement),
|
||||
m_dictElement("TX:" + dictElement) { }
|
||||
|
||||
Reference in New Issue
Block a user