The code does not explicitly delimit a block that is intended to contain 2 or more statements, creating a logic error.
Always use explicit block delimitation and use static-analysis technologies to enforce this practice.
Our security experts can help you identify and remediate CWE-483 vulnerabilities in your codebase.
Get Security Assessment