Bug #71647 [NoF->Csd]: Recursive (?R) regexp crashes PHP7.0-FPM

From: Date: Sun, 28 Aug 2016 12:53:45 +0000
Subject: Bug #71647 [NoF->Csd]: Recursive (?R) regexp crashes PHP7.0-FPM
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203627@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71647&edit=1

 ID:                 71647
 Updated by:         cmb@php.net
 Reported by:        adaur dot underground at gmail dot com
 Summary:            Recursive (?R) regexp crashes PHP7.0-FPM
-Status:             No Feedback
+Status:             Closed
 Type:               Bug
 Package:            PCRE related
 Operating System:   Debian 8
 PHP Version:        7.0.3
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Okay, so I'm closing this ticket. Please re-open if you'll find
that PCRE 8.38 won't solve the JIT related issue.


Previous Comments:
------------------------------------------------------------------------
[2016-08-28 09:41:47] adaur dot underground at gmail dot com

Hello,

Sorry for the delay.

Disabling the jit options does the trick. Indeed, my version of PHP7 was bundled with PRCE 8.35.
I'll ask the package's maintainer to update it.

------------------------------------------------------------------------
[2016-08-28 04:22:31] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.

------------------------------------------------------------------------
[2016-08-20 10:36:22] cmb@php.net

This issue may be caused by pcre.jit=1. Please try with
pcre.jit=0. Also check PCRE_VERSION; 8.35 is known to cause some
issues regarding the JIT. Try with 8.38.

------------------------------------------------------------------------
[2016-02-22 22:57:41] adaur dot underground at gmail dot com

Thank you for your answer.

As you may have guessed, this is a regexp used to parse BBCode in a forum script. Every time the
parser is called, the page crashes, hence any input seems to trigger the bug.

I have tried with a simple dot (.), crashes too.

------------------------------------------------------------------------
[2016-02-22 22:36:37] nikic@php.net

Can you please also provide the input you're matching against?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=71647


--
Edit this bug report at https://bugs.php.net/bug.php?id=71647&edit=1


Thread (8 messages)

« previous php.bugs (#203627) next »