Skip to content

Add validation for file permission values across INI and filesystem APIs#22302

Open
arshidkv12 wants to merge 1 commit into
php:masterfrom
arshidkv12:permission-1
Open

Add validation for file permission values across INI and filesystem APIs#22302
arshidkv12 wants to merge 1 commit into
php:masterfrom
arshidkv12:permission-1

Conversation

@arshidkv12

Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant