note 124978 rejected from function.posix-getgrgid by cmb
| From: | cmb@php.net | Date: | Tue, 05 May 2020 12:45:02 +0000 |
| Subject: | note 124978 rejected from function.posix-getgrgid by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214581@lists.php.net to get a copy of this message | ||
Note Submitter: zboszor at pr dot hu
----
posix_getgrgid() in PHP 7.3.17 returns false with posix_errno == 34 (ERANGE) for overly long lines
in /etc/group. The underlying getgrgid() call should be retried with an increasingly large buffer
until it succeeds in this case.