note 98611 added to function.preg-match
| From: | drudhead at osu1 dot php dot net | Date: | Fri, 25 Jun 2010 22:39:00 +0000 |
| Subject: | note 98611 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170481@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 87.97.43.29
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- https://master.php.net/note/edit/98611
Del: integrated -- https://master.php.net/note/delete/98611/integrated
Del: useless -- https://master.php.net/note/delete/98611/useless
Del: bad code -- https://master.php.net/note/delete/98611/bad+code
Del: spam -- https://master.php.net/note/delete/98611/spam
Del: non-english -- https://master.php.net/note/delete/98611/non-english
Del: in docs -- https://master.php.net/note/delete/98611/in+docs
Del: other reasons-- https://master.php.net/note/delete/98611
Reject -- https://master.php.net/note/reject/98611
Search -- https://master.php.net/manage/user-notes.php