cvs: ZendEngine2 / zend_execute_API.c
[email protected] ("Antony Dovgal")
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <cvstony20011201696257@cvsserver> |
tony2001 Wed Jan 30 12:30:57 2008 UTC
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
fix #43973 (__autoload called with wrong classname when triggered by static callback)
the issue was present only in HEAD
patch by Felipe
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_execute_API.c?r1=1.434&r2=1.435&diff_format=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.434 ZendEngine2/zend_execute_API.c:1.435
--- ZendEngine2/zend_execute_API.c:1.434 Tue Jan 29 11:13:52 2008
+++ ZendEngine2/zend_execute_API.c Wed Jan 30 12:30:57 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.434 2008/01/29 11:13:52 dmitry Exp $ */
+/* $Id: zend_execute_API.c,v 1.435 2008/01/30 12:30:57 tony2001 Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -1297,7 +1297,7 @@
ALLOC_ZVAL(class_name_ptr);
INIT_PZVAL(class_name_ptr);
- ZVAL_ZSTR(class_name_ptr, type, autoload_name, 1);
+ ZVAL_ZSTRL(class_name_ptr, type, autoload_name, lc_name_len, 1);
args[0] = &class_name_ptr;