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

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

Test Case IDDeprecated2006
Bad / Good / MixedGoodGood test case
Author
Associations
Replaced by: 2134  
Added byMichael Koo
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2007-10-09
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, 22, 23