com php-src: Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback": NEWS main/main.c
| From: | Stanislav Malyshev | Date: | Tue, 02 Sep 2014 21:15:39 +0000 |
| Subject: | com php-src: Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback": NEWS main/main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81387@lists.php.net to get a copy of this message | ||
Commit: fe551c089a7d309e3fa08513f1d1e287141cd202
Author: Stanislav Malyshev <stas@php.net> Tue, 2 Sep 2014 14:15:39 -0700
Parents: 53fa6c5b6b5b09059ba54c8912d0c0aef57aa4ff
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fe551c089a7d309e3fa08513f1d1e287141cd202
Log:
Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"
This reverts commit 53fa6c5b6b5b09059ba54c8912d0c0aef57aa4ff.
The change breaks tests, so not putting it into 5.4.
Bugs:
https://bugs.php.net/67644
Changed paths:
M NEWS
M main/main.c
Diff:
diff --git a/NEWS b/NEWS
index ff6cde2..a20f11a 100644
--- a/NEWS
+++ b/NEWS
@@ -6,8 +6,6 @@ PHP NEWS
. Fixed bug #47358 (glob returns error, should be empty array()). (Pierre)
. Fixed bug #65463 (SIGSEGV during zend_shutdown()). (Keyur Govande)
. Fixed bug #66036 (Crash on SIGTERM in apache process). (Keyur Govande)
- . Fixed bug #67644 (Memory corruption & crash during ob_start function
- callback). (Stas)
- OpenSSL:
. Fixed bug #41631 (socket timeouts not honored in blocking SSL reads).
diff --git a/main/main.c b/main/main.c
index e0b0916..8546500 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1767,12 +1767,6 @@ void php_request_shutdown(void *dummy)
}
} zend_end_try();
- /* Output buffer handlers may have created new objects. Mark these objects
- as destructed to avoid calling their dtors too late on shutdown when
- all dtors were supposed to be cleaned
- */
- zend_objects_store_mark_destructed(&EG(objects_store) TSRMLS_CC);
-
/* 4. Reset max_execution_time (no longer executing php code after response sent) */
zend_try {
zend_unset_timeout(TSRMLS_C);