Re: PHP 4.0 Bug #3470: segfault in strip_tags or array_flip(get_html_translation_table(HTML_ENTITIES))
| From: | thies at digicol dot de | Date: | Sat, 12 Feb 2000 19:04:26 +0000 |
| Subject: | Re: PHP 4.0 Bug #3470: segfault in strip_tags or array_flip(get_html_translation_table(HTML_ENTITIES)) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15466@lists.php.net to get a copy of this message | ||
for the intrested:
strip_tags($somebinarydatacontainingnullsetc);
has a real problem.
i've attached a purify dump that shows some bad-bad things.
On Sat, Feb 12, 2000 at 06:17:40PM -0000, wico@cnh.nl wrote:
> From: wico@cnh.nl
> Operating system: linux
> PHP version: 4.0 Beta 3
> PHP Bug Type: Reproduceable crash
> Bug description: segfault in strip_tags or
> array_flip(get_html_translation_table(HTML_ENTITIES))
>
> Hiya me again :)
>
> Somethimes at this portion of the code there's a segfault:
>
> $data = raw data from html pages
> $c = strip_tags($data);
> echo "GRRR STRIP_TAGS";echo "<BR>\n"; flush();
> */ crash will be here */
> $d = array_flip(get_html_translation_table(HTML_ENTITIES));
>
> greetz, wico
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany
Attachment: [application/x-gunzip] 1.gz
Attachment: [application/x-gunzip] 1.gz