]> granicus.if.org Git - php/commitdiff
Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address use...
authorDmitry Stogov <dmitry@php.net>
Thu, 21 Aug 2008 13:42:36 +0000 (13:42 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 21 Aug 2008 13:42:36 +0000 (13:42 +0000)
NEWS
Zend/zend_execute.c

diff --git a/NEWS b/NEWS
index 4111db62e442ffe2b25f6f0397dd5476829033b5..d32ca75b32f3ca45fdb8c8db6c99a42684ec2d69 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,8 @@ PHP                                                                        NEWS
 - Fixed bug #45805 (Crash on throwing exception from error handler). (Dmitry)
 - Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause
   an error). (Felipe)
+- Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address
+  use)). (basant dot kukreja at sun dot com) 
 - Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter).
   (Jani)
 - Fixed bug #45691 (Some per-dir or runtime settings may leak into other
index 1f4b7e0c1c2cbd3961aeb67716077970af44b272..9864b3acebb813c0d410e712213d632f80e6b9db 100644 (file)
@@ -1402,6 +1402,7 @@ ZEND_API void execute_internal(zend_execute_data *execute_data_ptr, int return_v
        } \
        EG(in_execution) = EX(original_in_execution); \
        EG(current_execute_data) = EX(prev_execute_data); \
+       EG(opline_ptr) = NULL; \
        ZEND_VM_RETURN()
 
 #include "zend_vm_execute.h"