[php-src] PR #18589: Fix OSS-Fuzz #418106144

From: Date: Sun, 18 May 2025 13:12:17 +0000
Subject: [php-src] PR #18589: Fix OSS-Fuzz #418106144
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-31707@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/18589 Author: nielsdos The VM assumes that an exception must be handled when the AST evaluation returns FAILURE. However, the comparison functions always return SUCCESS even if an exception happened. This can be fixed in zend_ast_evaluate_inner() or we can make is_smaller_function() etc check for the exception. I chose the former to avoid impact or API breaks. Perhaps in the future the comparison functions should either return void or return whether an exception happened, as to be not misleading.

« previous php.git-pulls (#31707) next »