[php-src] PR #17653: Fix GH-17509: Apache parent and subrequest double bailout

From: Date: Fri, 31 Jan 2025 18:10:17 +0000
Subject: [php-src] PR #17653: Fix GH-17509: Apache parent and subrequest double bailout
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-30612@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17653 Author: bukka What happens is that zend_first_try sets EG(bailout) to NULL. If that happens in subrequest that shares the globals with parent request, then the EG(bailout) gets reset for the parent and if there is a bailout in the parent, it fails because the jump address is not set. I think that technically we don't really need zend_first_try but I guess it's kind of a protection against extra jump after the last bailout. This restores the parent bailout at the end of the handler so parent knows where to jump.

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