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

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

Test Case IDDeprecated2134
Bad / Good / MixedGoodGood test case
Author
Associations
Replaced by: 149202  
Replacing: 2006  
Test suite: 46  
Added byMichael Koo
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2009-10-23
DescriptionAn example to prevent heap overflow.
File(s)
Flaw

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

File Contains:
CWE-122: Heap-based Buffer Overflow on line(s): 0, 25, 26