CWE-670
Overview
- CWE ID
- 670
- CWE Name
- Always-Incorrect Control Flow Implementation
- CWE Abstraction
- Class
- CWE structure
- Simple
- CWE Status
- Draft
Description
The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.
Extended Description
This weakness captures cases in which a particular code segment is always incorrect with respect to the algorithm that it is implementing. For example, if a C programmer intends to include multiple statements in a single block but does not include the enc
Related CWEs
CWE ID | View ID | Nature | Ordinal |
---|---|---|---|
691 | 1000 | ChildOf | Primary |