[php-src] PR #21610: Fix GH-21600: Remove xsltCleanupGlobals call in ext/xsl MSHUTDOWN.
| From: | devnexen | Date: | Thu, 02 Apr 2026 18:10:26 +0000 |
| Subject: | [php-src] PR #21610: Fix GH-21600: Remove xsltCleanupGlobals call in ext/xsl MSHUTDOWN. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35482@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21610
Author: devnexen
The call to xsltCleanupGlobals() during module shutdown can cause a segfault in xmlHashFree() when
freeing libxslt internal hash tables. This is the same class of shutdown cleanup issue that led to
xmlCleanupParser() being removed from ext/libxml. The process is about to exit and the OS will
reclaim all memory, making the explicit cleanup both unnecessary and harmful.