Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_constants.c

From: Date: Thu, 01 Jul 2004 16:52:07 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_constants.c
References: 1 2  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2720@lists.php.net to get a copy of this message
I think most alloca() removals you did in the PHP source tree are good. However, I wouldn't want to remove it from core language unless really necessary. The only way I can think of where the stack can be overflowed here is if the user (the one writing the PHP script) writes a HUGE string for a constant. I don't think that's a problem. Andi At 12:40 PM 7/1/2004 -0400, Ilia Alshanetsky wrote:
On July 1, 2004 12:29 pm, Andi Gutmans wrote: Why can this be easily abused? It takes a very simple piece of code to cause a stack smash. While it is unlikely this can be done accidentally, a less then scrupulous user can easily crash PHP with it. IMO a tiny performance less is worth the elimination of a possible way to crash PHP. Ilia -- Zend Engine CVS Mailing List (http://cvs.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.zend-engine.cvs (#2720) next »