[php-src] PR #17789: Fix memory leak on overflow in _php_stream_scandir()
| From: | nielsdos | Date: | Thu, 13 Feb 2025 18:55:54 +0000 |
| Subject: | [php-src] PR #17789: Fix memory leak on overflow in _php_stream_scandir() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30755@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17789
Author: nielsdos
On overflow, only the array is freed, but not the strings.
Found using an experimental static analyser I'm working on.