CWE-483

Incorrect Block Delimitation

Medium

Description

The code does not explicitly delimit a block that is intended to contain 2 or more statements, creating a logic error.

Potential Impact

How to Fix

Implementation

Always use explicit block delimitation and use static-analysis technologies to enforce this practice.

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-483 vulnerabilities in your codebase.

Get Security Assessment