[php-src] PR #21702: Fix GH-21698: memory leak in ZipArchive::addGlob on early returns.
| From: | devnexen | Date: | Fri, 10 Apr 2026 05:06:43 +0000 |
| Subject: | [php-src] PR #21702: Fix GH-21698: memory leak in ZipArchive::addGlob on early returns. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35648@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21702
Author: devnexen
globfree was not called on the no-matches path and on the open_basedir reject path, leaking the
glob_t contents populated by a successful glob() call.