For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > September 2004 > cvs: ZendEngine2 / zend_execute.c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2 / zend_execute.c
Anantha Kesari H Y

2004-09-22, 3:56 pm

hyanantha Wed Sep 22 10:20:19 2004 EDT

Modified files:
/ZendEngine2 zend_execute.c
Log:
Stack limit will be checked while executing the script


http://cvs.php.net/diff.php/ZendEng...7&r2=1.678&ty=u
Index: ZendEngine2/zend_execute.c
diff -u ZendEngine2/zend_execute.c:1.677 ZendEngine2/zend_execute.c:1.678
--- ZendEngine2/zend_execute.c:1.677 Wed Sep 22 03:14:26 2004
+++ ZendEngine2/zend_execute.c Wed Sep 22 10:20:19 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/

-/* $Id: zend_execute.c,v 1.677 2004/09/22 07:14:26 dmitry Exp $ */
+/* $Id: zend_execute.c,v 1.678 2004/09/22 14:20:19 hyanantha Exp $ */

#define ZEND_INTENSIVE_DEBUGGING 0

@@ -1486,7 +1486,11 @@
zend_timeout(0);
}
#endif
-
+#ifdef NETWARE
+ if (EG(nw_stack_limit) || (stackavail() <= 2048)) {
+ zend_nw_stack_limit(0);
+ }
+#endif
if (EX(opline)->handler(&execute_data TSRMLS_CC)) {
return;
}
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com