Difference between revisions of "Often Misused: Exception Handling"

From OWASP
Jump to: navigation, search
Line 2: Line 2:
 
{{Template:Fortify}}
 
{{Template:Fortify}}
  
==Abstract==
+
 
 +
Last revision (mm/dd/yy): '''{{REVISIONMONTH}}/{{REVISIONDAY}}/{{REVISIONYEAR}}'''
 +
 
 +
[[ASDR_TOC_Vulnerabilities|Vulnerabilities Table of Contents]]
 +
 
 +
[[ASDR Table of Contents]]
 +
__TOC__
 +
 
 +
 
 +
==Description==
  
 
The _alloca() function can throw a stack overflow exception, potentially causing the program to crash.
 
The _alloca() function can throw a stack overflow exception, potentially causing the program to crash.
Line 12: Line 21:
 
_alloca() has been deprecated as of Microsoft Visual Studio 2005®. It has been replaced with the more secure _alloca_s().
 
_alloca() has been deprecated as of Microsoft Visual Studio 2005®. It has been replaced with the more secure _alloca_s().
  
==Examples ==
 
  
==Related Threats==
+
==Risk Factors==
  
==Related Attacks==
+
TBD
  
==Related Vulnerabilities==
+
==Examples==
  
==Related Countermeasures==
+
===Short example name===
  
==Categories==
+
TBD
  
[[Category:Error Handling Vulnerability]]
+
==Related [[Attacks]]==
  
[[Category:Use of Dangerous API]]
+
* [[Attack 1]]
 +
* [[Attack 2]]
  
[[Category:C]]
 
  
[[Category:Implementation]]
+
==Related [[Vulnerabilities]]==
  
 +
* [[Vulnerability 1]]
 +
* [[Vulnerabiltiy 2]]
 +
 +
==Related [[Controls]]==
 +
 +
* [[Control 1]]
 +
* [[Control 2]]
 +
 +
 +
==Related [[Technical Impacts]]==
 +
 +
* [[Technical Impact 1]]
 +
* [[Technical Impact 2]]
 +
 +
 +
==References==
 +
 +
TBD
 +
__NOTOC__
 +
 +
 +
[[Category:OWASP ASDR Project]]
 +
[[Category:Error Handling Vulnerability]]
 +
[[Category:Use of Dangerous API]]
 +
[[Category:C]]
 +
[[Category:Implementation]]
 
[[Category:API Abuse]]
 
[[Category:API Abuse]]

Revision as of 16:52, 26 September 2008

This is a Vulnerability. To view all vulnerabilities, please see the Vulnerability Category page.


This article includes content generously donated to OWASP by Fortify.JPG.


Last revision (mm/dd/yy): 09/26/2008

Vulnerabilities Table of Contents

ASDR Table of Contents

Contents


Description

The _alloca() function can throw a stack overflow exception, potentially causing the program to crash.

Description

The _alloca() function allocates memory on the stack. If an allocation request is too large for the available stack space, _alloca() throws an exception. If the exception is not caught, the program will crash, potentially enabling a denial of service attack.

_alloca() has been deprecated as of Microsoft Visual Studio 2005®. It has been replaced with the more secure _alloca_s().


Risk Factors

TBD

Examples

Short example name

TBD

Related Attacks


Related Vulnerabilities

Related Controls


Related Technical Impacts


References

TBD