SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #2038

Back to the previous page... Back to the previous page

Test Case IDAccepted2038
Bad / Good / MixedBadBad test case
Author
Associations
Test suite: 57  
Added byMichael Koo
LanguageC++
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2007-12-04
DescriptionA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack. In the case of C++, misusing container vector could also cause stack overflow.
File(s)
Flaw

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-121: Stack-based Buffer Overflow on line(s): 0, 21, 22, 23