This page is experimental and may change significantly in future releases.
Incorrect Short Circuit Evaluation
Properties
id: d3f:CWE-768
- name
- Incorrect Short Circuit Evaluation
- definition
- The product contains a conditional statement with multiple logical expressions in which one of the non-leading expressions may produce side effects. This may lead to an unexpected state in the program after the execution of the conditional, because short-circuiting logic may prevent the side effects from occurring.
Neighbors
CWE-768 has no direct neighbors in this release.Inferred Relationships
Related Countermeasure Techniques
Related Weaknesses
CWE-768 has no related weaknesses in this release.