Query module DangerousNonShortCircuitLogic
- Potentially dangerous use of non-short-circuit logic
- The & and | operators do not use short-circuit evaluation and can be dangerous when applied to boolean operands. In particular, their use can result in errors if the left-hand operand checks for cases in which it is not safe to evaluate the right-hand one.
- reliability correctness logic external/cwe/cwe-480 external/cwe/cwe-691
The default C# QL library.