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