[php-src] PR #20157: phar: Fix memleak+UAF when opening temp stream in buildFromDirectory() fails
| From: | nielsdos | Date: | Sun, 12 Oct 2025 22:16:10 +0000 |
| Subject: | [php-src] PR #20157: phar: Fix memleak+UAF when opening temp stream in buildFromDirectory() fails | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33617@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20157
Author: nielsdos
Obvious memleak, but can also cause a UAF depending on destruction ordering with lingering PCRE
regex instances in the SPL objects.