[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248392

 
 

909

 
 

195452

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CWE
view XML

Incorrect Control Flow Scoping

ID: 705Date: (C)2012-05-14   (M)2022-10-10
Type: weaknessStatus: 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 Platforms
Language Class: All

Time Of Introduction

  • Architecture and Design
  • Implementation

Common Consequences

ScopeTechnical ImpactNotes
Other
 
Alter execution logic
Other
 
 

Detection Methods
None

Potential Mitigations
None

Relationships

Related CWETypeViewChain
CWE-705 ChildOf CWE-907 Category CWE-888  

Demonstrative Examples
None

White Box Definitions
None

Black Box Definitions
None

Taxynomy Mappings

TaxynomyIdNameFit
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

© SecPod Technologies