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

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