|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66679 Alignment Bug in PCRE 8.34 upstream
Submitted: 2014-02-09 17:40 UTC Modified: 2014-12-30 15:56 UTC
From: rainer dot jung at kippdata dot de Assigned: ab (profile)
Status: Closed Package: PCRE related
PHP Version: 5.6Git-2014-02-09 (Git) OS: Solaris
Private report: No CVE-ID: None
 [2014-02-09 17:40 UTC] rainer dot jung at kippdata dot de
alignment.patchaPCRE 8.34 has an alignment bug on Solaris that leads to crashes (bus error):

The bug was fixed as part of a huge commit:

I extracted a smaller patch I'll attach.


66679_clean.patch (last revision 2014-06-04 09:36 UTC by
PCRE-Alignment-8_34 (last revision 2014-02-09 17:41 UTC by rainer dot jung at kippdata dot de)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-06-03 07:26 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: ab
 [2014-06-03 07:26 UTC]
Anatol, could you look into this?
 [2014-06-03 20:13 UTC]
Thanks for reporting, Rainer. You're right, the only what matters for us is

as we still have JIT not enabled in PCRE. Gonna test this on windows/linux so you could check the solaris part after it's applied.

 [2014-06-04 07:55 UTC] rainer dot jung at kippdata dot de
I think the bug is fixed in the upstream PCRE 8.35 release available since 8 weeks. So instead of applying a custom patch, another update might be better?
 [2014-06-04 09:36 UTC]
The following patch has been added/updated:

Patch Name: 66679_clean.patch
Revision:   1401874600
 [2014-06-04 09:39 UTC]
-Status: Assigned +Status: Feedback
 [2014-06-04 09:39 UTC]
Maybe, but not that close to the 5.6 final. I'd take upgrade as the last measure at this moment.

Rainer, I've cleaned up so it contains only the part relevant to the alignment. Still have no solaris machine, so please test this 66679_clean.patch . For me it's fine on linux and windows.

 [2014-12-30 10:42 UTC] 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.
 [2014-12-30 14:59 UTC] rainer dot jung at kippdata dot de
Sorry for the long delay: I can confirm, that your patch is fine.
The patch needs to get applied to the 5.5 and 5.6 branches, it is neither yet part of the latest releases nor of head of 5.5/5.6.
Master is already on PCRE 8.35.
Thank you!

 [2014-12-30 15:53 UTC]
Automatic comment on behalf of ab
Log: Fixed bug #66679 Alignment Bug in PCRE 8.34 upstream
 [2014-12-30 15:53 UTC]
-Status: No Feedback +Status: Closed
 [2014-12-30 15:56 UTC]
Rainer, thanks for checking. Yeah, master has 8.35 now, lets see what we have there when it's branched (8.36 is there already). 

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 13 23:01:29 2024 UTC