...
Programmers should exercise caution if the second operand contains side effects because it may not be apparent whether the side effects actually occur.
...
Noncompliant Code Example
In this noncompliant code example, the second operand of the logical OR operator invokes a function that results in side effects:
...
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...