summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2017-07-04 19:21:28 -0700
committerStanislav Malyshev <stas@php.net>2017-07-04 19:21:28 -0700
commitf7f4fd470635c30018d7ac71ab3b848195bf8795 (patch)
treebf38ae901c438df49004c41d9c0d2294c03edf22
parente8b7698f5ee757ce2c8bd10a192a491a498f891c (diff)
downloadphp-git-f7f4fd470635c30018d7ac71ab3b848195bf8795.tar.gz
Fix bug #74087
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)