[php-src] PR #24008: Zend: Skip frameless registration for temporary modules

From: Date: Wed, 30 Sep 2026 00:36:12 +0000
Subject: [php-src] PR #24008: Zend: Skip frameless registration for temporary modules
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38965@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24008 Author: iliaal dl() registers a module as MODULE_TEMPORARY, but zend_register_functions still stored its frameless handlers in the process-global tables. Request shutdown frees those function records, and a later request that maps the extension at the same address dispatches through the freed record. Temporary modules now leave the frameless info unset, so the call uses the ordinary internal path. Persistent modules still receive frameless info. The test skips when setarch -R cannot set the personality, which is what failed the 32-bit CI job.

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