Bug #66679 [Asn->Fbk]: Alignment Bug in PCRE 8.34 upstream
| From: | ab@php.net | Date: | Wed, 04 Jun 2014 09:39:58 +0000 |
| Subject: | Bug #66679 [Asn->Fbk]: Alignment Bug in PCRE 8.34 upstream | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-186050@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66679&edit=1
ID: 66679
Updated by: ab@php.net
Reported by: rainer dot jung at kippdata dot de
Summary: Alignment Bug in PCRE 8.34 upstream
-Status: Assigned
+Status: Feedback
Type: Bug
Package: PCRE related
Operating System: Solaris
PHP Version: 5.6Git-2014-02-09 (Git)
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
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.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2014-06-04 09:36:40] ab@php.net
The following patch has been added/updated:
Patch Name: 66679_clean.patch
Revision: 1401874600
URL: https://bugs.php.net/patch-display.php?bug=66679&patch=66679_clean.patch&revision=1401874600
------------------------------------------------------------------------
[2014-06-04 07:55:03] 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-03 20:13:49] ab@php.net
Thanks for reporting, Rainer. You're right, the only what matters for us is
http://vcs.pcre.org/viewvc/code/trunk/pcre_compile.c?r1=1415&r2=1414&pathrev=1415
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.
Cheers.
------------------------------------------------------------------------
[2014-06-03 07:26:25] tyrael@php.net
Anatol, could you look into this?
------------------------------------------------------------------------
[2014-02-09 17:40:35] rainer dot jung at kippdata dot de
Description:
------------
alignment.patchaPCRE 8.34 has an alignment bug on Solaris that leads to crashes (bus error):
http://bugs.exim.org/show_bug.cgi?id=1427
The bug was fixed as part of a huge commit:
http://vcs.pcre.org/viewvc?view=revision&revision=1415
I extracted a smaller patch I'll attach.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66679&edit=1