Re: Fwd: [PHP-DEV] Output Buffering problem w/ PHP-4.0.5RC2

From: Date: Sun, 01 Apr 2001 10:59:39 +0000
Subject: Re: Fwd: [PHP-DEV] Output Buffering problem w/ PHP-4.0.5RC2
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-2699@lists.php.net to get a copy of this message
I sent Anil a patch that's supposed to fix the problem - and I'm waiting for his feedback. It's attached here if anybody wants to test it. Zeev At 12:40 1/4/2001, Sascha Schumann wrote: > php_end_ob_buffer() is called twice. During the first run, > (invoked from apache_php_module_main) line 161 of output.c > causes output_handler to be freed: > > zval_ptr_dtor(&OG(active_ob_buffer).output_handler); > > And because of that, the contents of output_handler are > invalid during the second run (invoked from > php_request_shutdown). > > I'm not sure what the root of the problem is here though. > The attached patch fixes it for me. > > - Sascha Experience IRCG > http://schumann.cx/ > http://schumann.cx/ircg > >-- >PHP Quality Assurance Mailing List <http://www.php.net/> >To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net >For additional commands, e-mail: php-qa-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.qa (#2699) next »