Blame SOURCES/pcre2-10.32-Fix-crash-when-X-is-used-without-UTF-in-JIT.patch

84fc4f
From 01d8a82b6333fac75799f475e1d543c2ba6d6744 Mon Sep 17 00:00:00 2001
84fc4f
From: ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>
84fc4f
Date: Mon, 13 May 2019 16:26:17 +0000
84fc4f
Subject: [PATCH] Fix crash when \X is used without UTF in JIT.
84fc4f
MIME-Version: 1.0
84fc4f
Content-Type: text/plain; charset=UTF-8
84fc4f
Content-Transfer-Encoding: 8bit
84fc4f
84fc4f
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1091 6239d852-aaf2-0410-a92c-79f79f948069
84fc4f
Petr Písař: Ported to 10.32.
84fc4f
84fc4f
Signed-off-by: Petr Písař <ppisar@redhat.com>
84fc4f
---
84fc4f
 testdata/testinput4  | 3 +++
84fc4f
 testdata/testoutput4 | 4 ++++
84fc4f
 2 files changed, 7 insertions(+)
84fc4f
84fc4f
diff --git a/testdata/testinput4 b/testdata/testinput4
84fc4f
index a27b6af..8592666 100644
84fc4f
--- a/testdata/testinput4
84fc4f
+++ b/testdata/testinput4
84fc4f
@@ -2318,4 +2318,7 @@
84fc4f
 /[^\x{100}-\x{ffff}]*[\x80-\xff]/i,utf
84fc4f
     \x{99}\x{99}\x{99}
84fc4f
 
84fc4f
+/\X*/
84fc4f
+    \xF3aaa\xE4\xEA\xEB\xFEa
84fc4f
+
84fc4f
 # End of testinput4
84fc4f
diff --git a/testdata/testoutput4 b/testdata/testoutput4
84fc4f
index ba3df37..0291149 100644
84fc4f
--- a/testdata/testoutput4
84fc4f
+++ b/testdata/testoutput4
84fc4f
@@ -3742,4 +3742,8 @@ No match
84fc4f
     \x{99}\x{99}\x{99}
84fc4f
  0: \x{99}\x{99}\x{99}
84fc4f
 
84fc4f
+/\X*/
84fc4f
+    \xF3aaa\xE4\xEA\xEB\xFEa
84fc4f
+ 0: \xf3aaa\xe4\xea\xeb\xfea
84fc4f
+
84fc4f
 # End of testinput4
84fc4f
-- 
84fc4f
2.20.1
84fc4f