CWE-484: Omitted Break Statement in Switch

BaseDraftExploit Likelihood: Medium

The product omits a break statement within a switch or similar construct, causing code associated with multiple conditions to execute. This can cause problems when the programmer only intended to execute code associated with one condition.

View on MITRE
Back to CWE Lookup

Extended Description

This can lead to critical code executing in situations where it should not.

Technical Details

Structure
Simple

Applicable To

Languages
CC++JavaC#PHP
Platforms

Learn More