Revision: 1091
http://www.exim.org/viewvc/pcre2?view=rev&revision=1091
Author: ph10
Date: 2019-05-13 17:26:17 +0100 (Mon, 13 May 2019)
Log Message:
-----------
Fix crash when \X is used without UTF in JIT.
Modified Paths:
--------------
code/trunk/ChangeLog
code/trunk/testdata/testinput4
code/trunk/testdata/testoutput4
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2019-05-11 11:43:39 UTC (rev 1090)
+++ code/trunk/ChangeLog 2019-05-13 16:26:17 UTC (rev 1091)
@@ -12,7 +12,9 @@
2. Improved the invalid utf32 support of the JIT compiler. Now it correctly
detects invalid characters in the 0xd800-0xdfff range.
+3. Fix minor typo bug in JIT compile when \X is used in a non-UTF string.
+
Version 10.33 16-April-2019
---------------------------
Modified: code/trunk/testdata/testinput4
===================================================================
--- code/trunk/testdata/testinput4 2019-05-11 11:43:39 UTC (rev 1090)
+++ code/trunk/testdata/testinput4 2019-05-13 16:26:17 UTC (rev 1091)
@@ -2480,4 +2480,7 @@
/^(?'אABC'...)(?&אABC)/utf
123123123456
+/\X*/
+ \xF3aaa\xE4\xEA\xEB\xFEa
+
# End of testinput4
Modified: code/trunk/testdata/testoutput4
===================================================================
--- code/trunk/testdata/testoutput4 2019-05-11 11:43:39 UTC (rev 1090)
+++ code/trunk/testdata/testoutput4 2019-05-13 16:26:17 UTC (rev 1091)
@@ -4012,4 +4012,8 @@
0: 123123
1: 123
+/\X*/
+ \xF3aaa\xE4\xEA\xEB\xFEa
+ 0: \xf3aaa\xe4\xea\xeb\xfea
+
# End of testinput4