[TYPO3-core] RFC #13427: t3lib_div::cleanOutputBuffers() might loop forever

Steffen Gebert steffen at steffen-gebert.de
Wed Jul 28 10:02:04 CEST 2010


Hi!

This is a SVN patch request.

Type: Bugfix

Bugtracker reference:
http://bugs.typo3.org/view.php?id=13427

Branches:
4_3, 4_4, trunk

Problem:
In particular environments it is possible that ob_get_level() doesn't 
get updated by ob_get_clean(). As both functions relay on the same data, 
it's also a redundant call which might fail.

Solution:
Replace check for ob_get_level() and directly loop over the return value 
of ob_get_clean();

Note:
Credits go to Stephan Seitz
You can test this using the Translation Settings in EM. If you're not 
affected by the issue, it should still work after the patch.

Regards
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13427.diff
Type: text/x-diff
Size: 1308 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100728/53ab3202/attachment.diff>


More information about the TYPO3-team-core mailing list