cvs: ZendEngine2 / zend_reflection_api.c
| From: | Zeev Suraski | Date: | Wed, 11 Feb 2004 12:35:25 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2352@lists.php.net to get a copy of this message | ||
zeev Wed Feb 11 07:35:25 2004 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
Fix crash (patch by Rob Richards)
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.85&r2=1.86&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.85 ZendEngine2/zend_reflection_api.c:1.86
--- ZendEngine2/zend_reflection_api.c:1.85 Wed Feb 4 17:19:00 2004
+++ ZendEngine2/zend_reflection_api.c Wed Feb 11 07:35:24 2004
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.85 2004/02/04 22:19:00 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.86 2004/02/11 12:35:24 zeev Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_default_classes.h"
@@ -1008,7 +1008,7 @@
if (zend_hash_find(EG(function_table), lcname, name_len + 1, (void **)&fptr) == FAILURE) {
free_alloca(lcname);
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
- "Function %s() does not exist", Z_STRVAL_P(name));
+ "Function %s() does not exist", name_str);
return;
}
free_alloca(lcname);