mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Fix a set of compilation warnings
This commit is contained in:
parent
c8666fae31
commit
450c966da0
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
|||||||
v3.0.x - YYYY-MMM-DD (To be released)
|
v3.0.x - YYYY-MMM-DD (To be released)
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
|
- Fix a set of compilation warnings
|
||||||
|
[Issue #1650 - @zimmerle, @JayCase]
|
||||||
- Check for disruptive action on SecDefaultAction.
|
- Check for disruptive action on SecDefaultAction.
|
||||||
[Issue #1614 - @zimmerle, @michaelgranzow-avi]
|
[Issue #1614 - @zimmerle, @michaelgranzow-avi]
|
||||||
- Fix block-block infinite loop.
|
- Fix block-block infinite loop.
|
||||||
|
@ -50,7 +50,7 @@ class Rule {
|
|||||||
std::string fileName,
|
std::string fileName,
|
||||||
int lineNumber);
|
int lineNumber);
|
||||||
explicit Rule(std::string marker);
|
explicit Rule(std::string marker);
|
||||||
~Rule();
|
virtual ~Rule();
|
||||||
|
|
||||||
virtual bool evaluate(Transaction *transaction,
|
virtual bool evaluate(Transaction *transaction,
|
||||||
std::shared_ptr<RuleMessage> rm);
|
std::shared_ptr<RuleMessage> rm);
|
||||||
|
@ -60,7 +60,7 @@ class Rx : public Operator {
|
|||||||
const std::string& input,
|
const std::string& input,
|
||||||
std::shared_ptr<RuleMessage> ruleMessage) override;
|
std::shared_ptr<RuleMessage> ruleMessage) override;
|
||||||
|
|
||||||
bool init(const std::string &arg, std::string *error);
|
bool init(const std::string &arg, std::string *error) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Regex *m_re;
|
Regex *m_re;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user