mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fix: handle error with SecConnReadStateLimit configuration
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,6 +1,8 @@
|
|||||||
DD mmm YYYY - 2.9.x (to be released)
|
DD mmm YYYY - 2.9.x (to be released)
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
* Fix: handle error with SecConnReadStateLimit configuration
|
||||||
|
[Issue #2815, #2834 - @marcstern, @martinhsv]
|
||||||
* Only check for pcre2 install if required
|
* Only check for pcre2 install if required
|
||||||
[Issue #2833 - @martinhsv]
|
[Issue #2833 - @martinhsv]
|
||||||
* Adjustment of previous fix for log messages
|
* Adjustment of previous fix for log messages
|
||||||
|
@@ -1732,6 +1732,12 @@ char *parser_conn_limits_operator(apr_pool_t *mp, const char *p2,
|
|||||||
char *param = strchr(p2, ' ');
|
char *param = strchr(p2, ' ');
|
||||||
char *file = NULL;
|
char *file = NULL;
|
||||||
char *error_msg = NULL;
|
char *error_msg = NULL;
|
||||||
|
|
||||||
|
if (param == NULL) {
|
||||||
|
return apr_psprintf(mp, "ModSecurity: Space character between operator " \
|
||||||
|
"and parameter not found with ConnReadStateLimit: %s", p2);
|
||||||
|
}
|
||||||
|
|
||||||
param++;
|
param++;
|
||||||
|
|
||||||
config_orig_path = apr_pstrndup(mp, filename,
|
config_orig_path = apr_pstrndup(mp, filename,
|
||||||
|
Reference in New Issue
Block a user