]> granicus.if.org Git - php/commit
Fix bug #60768 Output buffer not discarded
authorMichael Wallner <mike@php.net>
Mon, 16 Jan 2012 17:51:35 +0000 (17:51 +0000)
committerMichael Wallner <mike@php.net>
Mon, 16 Jan 2012 17:51:35 +0000 (17:51 +0000)
commitf32760bd40aa368beeccd8ce53b425b2ebae159c
tree41579c7b36976f63facb9d0c7743480e356686c8
parent36df53421ecf6a74bfea19ab13e8935f8dd4476a
Fix bug #60768  Output buffer not discarded

 in php_output_handler_op():
  * if appending to buffer succeeds, just return HANDLER_NO_DATA
    and do nothing else
  * if a zero sized string or true is returned from the handler
    function, reset the context as well as the handler's buffer
main/output.c
tests/output/bug60768.phpt [new file with mode: 0644]