summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2017-07-04 19:21:28 -0700
committerJoe Watkins <krakjoe@php.net>2017-07-06 09:49:28 +0100
commit73915a2bd61f21fd809b4d50af9aba950f43e807 (patch)
tree3efb8141204636d80702bea9b9f6ab170d473bd8
parent61ba5f84774938617f78d65c06e5933cff2d8af3 (diff)
downloadphp-git-PHP-7.1.7.tar.gz
Fix bug #74087php-7.1.7PHP-7.1.7
Ported from https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patch
-rw-r--r--ext/pcre/pcrelib/pcre_jit_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/pcre_jit_compile.c b/ext/pcre/pcrelib/pcre_jit_compile.c
index 445de0cbef..4684be751a 100644
--- a/ext/pcre/pcrelib/pcre_jit_compile.c
+++ b/ext/pcre/pcrelib/pcre_jit_compile.c
@@ -7307,7 +7307,7 @@ if (opcode == OP_COND || opcode == OP_SCOND)
if (*matchingpath == OP_FAIL)
stacksize = 0;
- if (*matchingpath == OP_RREF)
+ else if (*matchingpath == OP_RREF)
{
stacksize = GET2(matchingpath, 1);
if (common->currententry == NULL)