. Fixed bug #59985 (show normal warning text for OCI_NO_DATA)
(Chris Jones)
+- Output:
+ . Fixed bug #60282 (Segfault when using ob_gzhandler() with open buffers).
+ (Laruence)
+
11 Nov 2011, PHP 5.4.0 RC1
- General improvements:
. Changed silent conversion of array to string to produce a notice. (Patrick)
* Check whether a certain output handler is in use */
PHPAPI int php_output_handler_started(const char *name, size_t name_len TSRMLS_DC)
{
- php_output_handler **handlers;
+ php_output_handler ***handlers;
int i, count = php_output_get_level(TSRMLS_C);
if (count) {
- handlers = *(php_output_handler ***) zend_stack_base(&OG(handlers));
+ handlers = (php_output_handler ***) zend_stack_base(&OG(handlers));
for (i = 0; i < count; ++i) {
- if (name_len == handlers[i]->name_len && !memcmp(handlers[i]->name, name, name_len)) {
+ if (name_len == (*(handlers[i]))->name_len && !memcmp((*(handlers[i]))->name, name, name_len)) {
return 1;
}
}