You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
umask(): 2^32 narrows to zero and disables permission masking #25967
ext/standard/file.c:1244 calls umask((int) mask) without checking whether the 64-bit zend_long is representable as an int; on this platform, 4294967296 narrows to zero and clears the process mask. The out-of-range request must be rejected without replacing the existing 077 mask, so ordinary 0666 file creation remains restricted to 0600.
Activity
test: make phpGH-25967 umask test portable to 32-bit
Fix phpGH-25967: only reject non-int PHP umask() values