Incorrect Control Flow ScopingID: 705 | Date: (C)2012-05-14 (M)2022-10-10 |
Type: weakness | Status: INCOMPLETE |
Abstraction Type: Class |
Description
The software does not properly return control flow to the
proper location after it has completed a task or detected an unusual
condition.
Applicable PlatformsLanguage Class: All
Time Of Introduction
- Architecture and Design
- Implementation
Common Consequences
Scope | Technical Impact | Notes |
---|
Other | Alter execution
logicOther | |
Detection MethodsNone
Potential MitigationsNone
Relationships
Related CWE | Type | View | Chain |
---|
CWE-705 ChildOf CWE-907 | Category | CWE-888 | |
Demonstrative ExamplesNone
White Box Definitions None
Black Box Definitions None
Taxynomy Mappings
Taxynomy | Id | Name | Fit |
---|
CERT C Secure Coding | ENV32-C | All atexit handlers must return normally | |
CERT C Secure Coding | ERR04-C | Choose an appropriate termination strategy | |
CERT Java Secure Coding | THI05-J | Do not use Thread.stop() to terminate
threads | |
CERT Java Secure Coding | ERR04-J | Do not complete abruptly from a finally
block | |
CERT Java Secure Coding | ERR05-J | Do not let checked exceptions escape from a finally
block | |
CERT C++ Secure Coding | ENV32-CPP | All atexit handlers must return normally | |
CERT C++ Secure Coding | ERR04-CPP | Choose an appropriate termination strategy | |
References:None