cvs: ZendEngine2 / zend_execute_API.c

From: Date: Wed, 17 Nov 2004 12:06:29 +0000
Subject: cvs: ZendEngine2 / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3169@lists.php.net to get a copy of this message
stas Wed Nov 17 07:06:29 2004 EDT Modified files: /ZendEngine2 zend_execute_API.c Log: fix crash http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.306&r2=1.307&ty=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.306 ZendEngine2/zend_execute_API.c:1.307 --- ZendEngine2/zend_execute_API.c:1.306 Wed Nov 3 18:13:32 2004 +++ ZendEngine2/zend_execute_API.c Wed Nov 17 07:06:27 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.306 2004/11/03 23:13:32 derick Exp $ */ +/* $Id: zend_execute_API.c,v 1.307 2004/11/17 12:06:27 stas Exp $ */ #include <stdio.h> #include <signal.h> @@ -882,6 +882,10 @@ char dummy = 1; zend_fcall_info fcall_info; zend_fcall_info_cache fcall_cache; + + if (name == NULL) { + return FAILURE; + } lc_name = do_alloca(name_length + 1); zend_str_tolower_copy(lc_name, name, name_length);

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