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
Fix potential security flaw in creation of sockets/directories
Previous code created a file object with two steps: the creation itself with
default umask/mode and setting necessary permissions then. This approach is known to
lead to a race condition when malicious process can open an object before
permissions is set.
The patch sets creation mask (mask) to 027, thus denying any access from others. Also,
the patch removes all dead code which is not needed after changes mentioned.
0 commit comments