Re: [PHP-DEV] PHP 4.0 Bug #7720 Updated: Return address in stackoverwritten? From: void (sven <email protected>)
Date: 11/09/00

On Thu, 9 Nov 2000, Adam Wright wrote:

> Date: Thu, 9 Nov 2000 12:54:54 -0000
> From: Adam Wright <adam <email protected>>
> To: PHP Development <php-dev <email protected>>
> Subject: Re: [PHP-DEV] PHP 4.0 Bug #7720 Updated: Return address in
> stackoverwritten?
>
> in C, and marvel as you run out of stack. This isnt a bug in PHP, though its
> not handled that gracefully. 10,000 recursions is an awful lot anyway, and
> you should look at other methods to accomplish your goal (think of the
> memory usage even if you had enough stack!), imho.

    Yeah, right, it's a lot. In C the stack just grows and everyone is
    happy when just memory runs out. php instead overwrites a return
    address on the stack. We found this problem in many other exploits
    before.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>