...
In this noncompliant code example, a bitwise & operator operator is used with the results of an two equality-expressionexpressions:
| Code Block | ||||
|---|---|---|---|---|
| ||||
if (getuid() == 0 & getgid() == 0) {
/* ... */
}
|
...
...
In this noncompliant code example, a bitwise & operator operator is used with the results of an two equality-expressionexpressions:
| Code Block | ||||
|---|---|---|---|---|
| ||||
if (getuid() == 0 & getgid() == 0) {
/* ... */
}
|
...