We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ed842 commit 72ecccdCopy full SHA for 72ecccd
1 file changed
src/node_credentials.cc
@@ -40,8 +40,8 @@ namespace credentials {
40
// same).
41
bool SafeCapGetenv(const char* key, std::string* text) {
42
#if !defined(__CloudABI__) && !defined(_WIN32)
43
- if (per_process::linux_at_secure && (getuid() != geteuid() ||
44
- getgid() != getegid()) || getuid() == 0) {
+ if (per_process::linux_at_secure && ((getuid() != geteuid() ||
+ getgid() != getegid()) || getuid() == 0)) {
45
goto fail;
46
}
47
#endif
0 commit comments