[php-src] PR #17660: Fix GH-17654: JIT OPcache with CRTO Modes XX14, XX34, XX15 and XX35 Crash The Application

From: Date: Fri, 31 Jan 2025 20:49:57 +0000
Subject: [php-src] PR #17660: Fix GH-17654: JIT OPcache with CRTO Modes XX14, XX34, XX15 and XX35 Crash The Application
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-30617@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17660 Author: nielsdos This test has two classes that use the same trait. In function JIT mode the same cache slot will be used. This causes problems because it is primed for the first class and then reused for the second class, resulting in an incorrect type check failure. The current check for a megamorphic trait call requires current_frame to not be NULL, but this is only set in tracing mode and not in function mode. This patch corrects the check.

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