[php-src] PR #11530: Fix GH-11529: Crash after dealing with an Apache request
| From: | nielsdos | Date: | Sun, 25 Jun 2023 20:42:16 +0000 |
| Subject: | [php-src] PR #11530: Fix GH-11529: Crash after dealing with an Apache request | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22813@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11530
Author: nielsdos
In an MPM worker scenario we have 1 module, N threads. Each thread must have their globals
initialised. If we only initialise the filename fields in MINIT, then the threads have an
uninitialized value. If the uninitialized value is not NULL, this leads to segfaults upon access.