#38050 [Opn->Fbk]: preg_match_all segfault

From: Date: Sun, 09 Jul 2006 19:40:30 +0000
Subject: #38050 [Opn->Fbk]: preg_match_all segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99255@lists.php.net to get a copy of this message
ID: 38050 Updated by: tony2001@php.net Reported By: taak@php.net -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: debian linux PHP Version: 5.1.4 New Comment: Unfortunately pastebin.com is down atm. Please provide short but complete reproduce script here. Previous Comments: ------------------------------------------------------------------------ [2006-07-09 19:32:54] taak@php.net Description: ------------ preg_match_all segfaults on some text samples with the following pattern: #<a(?=[\s/>]+)(?:"[^"]*"|'[^']*'|[^'">])*?\bhref\s?=\s?"([^"]+)"(?:"[^"]*"|'[^']*\'|[^'">])*?>((?:.(?!</a>))*.?)</a>#ism Pastebin code includes an example text sample. Reproduced on i386 linux 5.1.4 built from source but NOT a mac ppc build with the same compile flags, or on 4.3.10. Reproduce code: --------------- http://pastebin.com/743927 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38050&edit=1

« previous php.bugs (#99255) next »