[php-src] PR #22302: Add validation for file permission values across INI and filesystem APIs
| From: | arshidkv12 | Date: | Sun, 14 Jun 2026 11:23:53 +0000 |
| Subject: | [php-src] PR #22302: Add validation for file permission values across INI and filesystem APIs | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36410@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22302
Author: arshidkv12
This commit introduces a reusable Zend API function to validate Unix
file permission bitmasks (0–07777) and ensures consistent validation
across the PHP core.
Applied to:
- mkdir / chmod argument validation
- INI handlers such as error_log_mode