mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +03:00
Add missing 'retrun's for functions declared return value. This change fixes SIGILLs on executable built with clang 3.4.
Tested against FreeBSD 10.3.
This commit is contained in:
parent
1e6b40ebea
commit
57ad70bb2b
@ -31,6 +31,8 @@ bool CtlAuditLogParts::init(std::string *error) {
|
|||||||
} else {
|
} else {
|
||||||
mPartsAction = 1;
|
mPartsAction = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CtlAuditLogParts::evaluate(Rule *rule, Transaction *transaction) {
|
bool CtlAuditLogParts::evaluate(Rule *rule, Transaction *transaction) {
|
||||||
|
@ -46,6 +46,7 @@ int Driver::addSecMarker(std::string marker) {
|
|||||||
rule->phase = i;
|
rule->phase = i;
|
||||||
rules[i].push_back(rule);
|
rules[i].push_back(rule);
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user