summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2019-10098.patch
blob: b2c66b2f50f33ebdd49dd550460ff0c03ad82298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: patch to set PCRE_DOTALL by default
Author: ylavic
Origin: upstream, https://svn.apache.org/viewvc?view=revision&revision=1864192
Bug: https://security-tracker.debian.org/tracker/CVE-2019-10098
Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2019-08-18

--- a/server/util_pcre.c
+++ b/server/util_pcre.c
@@ -120,7 +120,8 @@
  *            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)
 {