[php-src] PR #12405: Fix use-after-free of constant name

From: Date: Tue, 10 Oct 2023 17:09:20 +0000
Subject: [php-src] PR #12405: Fix use-after-free of constant name
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23851@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/12405 Author: iluuu1994 The constant name is usually interend. Without opcache, compilation always interns strings. Without opcache, compilation does not intern (new) strings, but persisting of script does. If a script is not stored in shm the constant name will not be interned. The building of enum backing stores was missing a addref for the constant name, leading to a double-free when releasing constants and backing stores of enums.

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