Revision: 1092
http://www.exim.org/viewvc/pcre2?view=rev&revision=1092
Author: ph10
Date: 2019-05-13 17:38:18 +0100 (Mon, 13 May 2019)
Log Message:
-----------
Forgot this file in previous commit. Fixes JIT non-UTF bug.
Modified Paths:
--------------
code/trunk/src/pcre2_jit_compile.c
Modified: code/trunk/src/pcre2_jit_compile.c
===================================================================
--- code/trunk/src/pcre2_jit_compile.c 2019-05-13 16:26:17 UTC (rev 1091)
+++ code/trunk/src/pcre2_jit_compile.c 2019-05-13 16:38:18 UTC (rev 1092)
@@ -8571,7 +8571,10 @@
PCRE2_SPTR bptr;
uint32_t c;
-GETCHARINC(c, cc);
+/* Patch by PH */
+/* GETCHARINC(c, cc); */
+
+c = *cc++;
#if PCRE2_CODE_UNIT_WIDTH == 32
if (c >= 0x110000)
return NULL;