cvs: ZendEngine2 / zend.c
| From: | Thies C. Arntzen | Date: | Wed, 28 Aug 2002 14:43:32 +0000 |
| Subject: | cvs: ZendEngine2 / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-368@lists.php.net to get a copy of this message | ||
thies Wed Aug 28 10:43:32 2002 EDT
Modified files:
/ZendEngine2 zend.c
Log:
clear current_execute_data on bailout as it would point into some freed area
on the stack.
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.175 ZendEngine2/zend.c:1.176
--- ZendEngine2/zend.c:1.175 Wed Aug 28 05:49:40 2002
+++ ZendEngine2/zend.c Wed Aug 28 10:43:32 2002
@@ -549,6 +549,7 @@
}
CG(unclean_shutdown) = 1;
CG(in_compilation) = EG(in_execution) = 0;
+ EG(current_execute_data) = NULL;
longjmp(EG(bailout), FAILURE);
}
END_EXTERN_C()