[php-src] PR #20220: phar: Fix memory leak when opening temp file fails while trying to open gzip-compressed archive
| From: | nielsdos | Date: | Sat, 18 Oct 2025 22:13:32 +0000 |
| Subject: | [php-src] PR #20220: phar: Fix memory leak when opening temp file fails while trying to open gzip-compressed archive | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33704@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20220
Author: nielsdos
filterparams can leak if php_stream_fopen_tmpfile() fails. To solve this,
move the temp file creation first.