[php-src] PR #17231: Fix GH-17225: NULL deref in spl_directory.c
| From: | nielsdos | Date: | Sat, 21 Dec 2024 11:16:44 +0000 |
| Subject: | [php-src] PR #17231: Fix GH-17225: NULL deref in spl_directory.c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30082@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17231
Author: nielsdos
NULL checks for the glob stream are inconsistently applied. To solve this generally, factor it out
to a helper function so it's less likely to be forgotten in the future.