File apache2-CVE-2019-10098.patch of Package apache2.21779
commit 3b3117e96bc9c2afaeb5b98e9b60315006679a6d
Author: Stefan Eissing <icing@apache.org>
Date: Fri Aug 2 09:24:58 2019 +0000
Merge of r1864192 from trunk:
*) core, rewrite: Set PCRE_DOTALL by default
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1864213 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/server/util_pcre.c b/server/util_pcre.c
index f2cb1bb01e..35831f500f 100644
--- a/server/util_pcre.c
+++ b/server/util_pcre.c
@@ -120,7 +120,8 @@ AP_DECLARE(void) ap_regfree(ap_regex_t *preg)
* Compile a regular expression *
*************************************************/
-static int default_cflags = AP_REG_DOLLAR_ENDONLY;
+static int default_cflags = AP_REG_DOTALL |
+ AP_REG_DOLLAR_ENDONLY;
AP_DECLARE(int) ap_regcomp_get_default_cflags(void)
{