mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Merge branch 'SpiderLabs:v2/master' into v2/master
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)
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
* Check return code of apr_procattr_io_set()
|
||||||
|
[Issue #2958 - @marcstern]
|
||||||
* Do not escape special chars in rx pattern with macro
|
* Do not escape special chars in rx pattern with macro
|
||||||
[Issue #2357 - @marcstern, @martinhsv]
|
[Issue #2357 - @marcstern, @martinhsv]
|
||||||
* Substitute two equals-equals operators in build
|
* Substitute two equals-equals operators in build
|
||||||
|
@@ -99,7 +99,12 @@ int apache2_exec(modsec_rec *msr, const char *command, const char **argv, char *
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
apr_procattr_io_set(procattr, APR_NO_PIPE, APR_FULL_BLOCK, APR_NO_PIPE);
|
rc = apr_procattr_io_set(procattr, APR_NO_PIPE, APR_FULL_BLOCK, APR_NO_PIPE);
|
||||||
|
if (rc != APR_SUCCESS) {
|
||||||
|
msr_log(msr, 1, "Exec: apr_procattr_io_set failed: %d (%s)", rc, get_apr_error(r->pool, rc));
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
apr_procattr_cmdtype_set(procattr, APR_SHELLCMD);
|
apr_procattr_cmdtype_set(procattr, APR_SHELLCMD);
|
||||||
|
|
||||||
if (msr->txcfg->debuglog_level >= 9) {
|
if (msr->txcfg->debuglog_level >= 9) {
|
||||||
|
Reference in New Issue
Block a user