Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_execute.c php-src NEWS
| From: | Andi Gutmans | Date: | Fri, 21 Jan 2005 16:03:45 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_execute.c php-src NEWS | ||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-3320@lists.php.net to get a copy of this message | ||
Stefan,
So much is obvious and I read the bug report. I wanted to understand what the author (Antony) thought was happening before we go ahead and debug the problem.
Just checking for NULL and allocating a zval does not seem like a thorough fix for such a problem. NULL being returned does have its own semantics.
Andi
At 10:37 AM 1/21/2005 +0100, Stefan Esser wrote:
Stanislav Malyshev wrote:Ilia, can you give some explanation on what it is supposed to fix and how?Well you should atleast read the patches: http://bugs.php.net/bug.php?id=28086 Without knowing a bit about the code it is obvious that a return value of get_zval_ptr is not checked against NULL, which leads to a NULL pointer dereference... Stefan -- Zend Engine CVS Mailing List (http://cvs.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php