RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault
| From: | Sean R. Bright | Date: | Tue, 06 Feb 2001 22:17:47 +0000 |
| Subject: | RE: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite function calls causes seg fault | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-45881@lists.php.net to get a copy of this message | ||
<sarcasm>
Yes, I found this feature of PHP quite useful when I wanted to crash the
server. There are many places on the web that you can download these very
useful applications that call functions infinitely. The applications for
this type of code are innumerable.
</sarcasm>
Sean
--
===================================================================
Sean Bright
elixer@erols.com / sean@seanbright.com / http://www.seanbright.com/
===================================================================
> -----Original Message-----
> From: nathan@synop.com [mailto:nathan@synop.com]
> Sent: Tuesday, February 06, 2001 5:18 PM
> To: php-dev@lists.php.net
> Subject: [PHP-DEV] PHP 4.0 Bug #9136: simple script with infinite
> function calls causes seg fault
>
>
> From: nathan@synop.com
> Operating system: red hat 7.0
> PHP version: 4.0.4pl1
> PHP Bug Type: Reproduceable crash
> Bug description: simple script with infinite function calls
> causes seg fault
>
> -------------------
> <%
>
> function a () {
> b();
> }
>
> function b () {
> a();
> }
>
> a();
>
> %>
>
> <h1>done</h1>
> ---------------------
>
> The simple script above causes a seg fault. If you need more
> info on configuration etc please mail me. We made this
> simple example from a more compilcated instance. This bug
> was also present in 4.0.3pl1, we upgraded to try and stop the
> seg fault...
>
> thanks!
>
>
> --
> Edit Bug report at: http://bugs.php.net/?id=9136&edit=1
>
>
>
> --
> 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
>