note 98611 deleted from function.preg-match by danbrown

From: Date: Sat, 26 Jun 2010 03:37:02 +0000
Subject: note 98611 deleted from function.preg-match by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170482@lists.php.net to get a copy of this message
Note Submitter: drudhead ---- This removeHtmlTagsWithExceptions function which was posted on php.net has exactly the same crash bug. I have modsecurity running as well and it doesn’t say anything about it. Errors : 1, the whole apache thread will go away and the webserver will display an empty page, regardless where you use the function (its not like other errors where you would get an error message and partial page loads etc) [notice] child pid 83157 exit signal Segmentation fault (11) 2, Page load reaches 30 sec and dies with timeout The bug exist in PHP 5.2.12 too. If someone could fix the removeHtmlTagsWithExceptions function and repost that would be greatly appreciated.

« previous php.notes (#170482) next »