diff options
author | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2014-04-24 06:43:50 +0000 |
---|---|---|
committer | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2014-04-24 06:43:50 +0000 |
commit | 0bd9147ce89e5e120b6a1a57832b3836e35f4247 (patch) | |
tree | f708c89502320745b13ed4c1f52893be71d99661 /pcre_jit_compile.c | |
parent | 75fcdfdbdc107379247a2fb8c86e9d5e10de8420 (diff) | |
download | pcre-0bd9147ce89e5e120b6a1a57832b3836e35f4247.tar.gz |
Add missing match limit test to JIT.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1474 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_jit_compile.c')
-rw-r--r-- | pcre_jit_compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c index e67071e..1a519f9 100644 --- a/pcre_jit_compile.c +++ b/pcre_jit_compile.c @@ -7416,6 +7416,7 @@ if (ket == OP_KETRMAX) if (repeat_type == OP_EXACT) { + count_match(common); OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_MEM1(SLJIT_LOCALS_REG), repeat_ptr, SLJIT_MEM1(SLJIT_LOCALS_REG), repeat_ptr, SLJIT_IMM, 1); JUMPTO(SLJIT_C_NOT_ZERO, rmax_label); } |