Browse Source

- fix SEGV in php_output_handler_started()

migration/RELEASE_1_0_0
Michael Wallner 20 years ago
parent
commit
773fa96dfc
  1. 2
      main/output.c

2
main/output.c

@ -561,7 +561,7 @@ PHPAPI int php_output_handler_started(zval *name TSRMLS_DC)
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 (!zend_binary_zval_strcmp(handlers[i]->name, name)) {

Loading…
Cancel
Save