Issue Bug Closed

#101692PHP process on the server to get full cpu load (one core) by mistake in f:if condition

Heiko Dietrich 08/15/23, 15:09 updated 11/14/23, 16:45

Description

The following fluid-Script has a mistake in the condition. The closing-quote ‘ behind the second ‘a’ is missing!

<f:if condition="'a' == 'a"></f:if>

This faulty condition causes the PHP process on the server to get full cpu load (one core) and can’t finalize the php process. It could be an infinite loop in which the condition parser gets caught.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 4

  1. Heiko Dietrich commented 08/28/23, 13:50

    Christian Kuhn wrote in #note-1:
    > Is this https://github.com/TYPO3/Fluid/issues/667 ?

    Yes, it’s the same problem

  2. Simon Praetorius commented and changed status New Closed 10/19/23, 09:48

    Closing this, since it is a Fluid Standalone issue and there is already a PR pending:

    https://github.com/TYPO3/Fluid/pull/821

    Feel free to test and review the bugfix.

  3. Simon Praetorius commented 11/14/23, 16:45

    We just released Fluid v2.9.3 which includes the bugfix and can be installed with composer.