aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl/CVE-2017-12837.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl/CVE-2017-12837.patch')
-rw-r--r--main/perl/CVE-2017-12837.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/perl/CVE-2017-12837.patch b/main/perl/CVE-2017-12837.patch
new file mode 100644
index 0000000000..e4ec80fca1
--- /dev/null
+++ b/main/perl/CVE-2017-12837.patch
@@ -0,0 +1,11 @@
+--- a/regcomp.c
++++ b/regcomp.c
+Upstream commit 96c83ed78aeea1a0496dd2b2d935869a822dc8a5
+@@ -13318,6 +13318,7 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
+ goto loopdone;
+ }
+ p = RExC_parse;
++ RExC_parse = parse_start;
+ if (ender > 0xff) {
+ REQUIRE_UTF8(flagp);
+ }