Home / Vulnerability Database / C or C++ : Invalid mask
C/C++
C or C++ : Invalid mask
Overview
The call umask(mask) sets the mask that changes access rights when creating new files. The permissions are as follows: ~mask & mode, where mode is the rights specified when creating a file. Thus, using the desired access rights as a parameter mask may lead to unwanted behavior of the program.
References
MEDIUM
DerScanner Severity Score
Do you want to fix C or C++ : Invalid mask in your application?
See also
C/C++
C or C++ : Dead store
C/C++
C or C++ : Use after free
C/C++
