[php-src] PR #12311: Fix #80092 (ZTS + preload = segfault on shutdown)

From: Date: Wed, 27 Sep 2023 21:28:59 +0000
Subject: [php-src] PR #12311: Fix #80092 (ZTS + preload = segfault on shutdown)
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23719@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/12311 Author: nielsdos Fixes https://bugs.php.net/bug.php?id=80092 After preloading has executed, the executor globals for class_table and function_table are still referring to the values during preloading. If no request happens after that then these values will remain dangling pointers. If then the -v option on CLI or -h option (and possibly others) on CGI is provided, there is a double free. Fix it by nulling the pointers explicitly after preloading has finished to fix it for all SAPIs.

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