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

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

Test Case IDCandidate149202
Bad / Good / MixedGoodGood test case
AuthorNIST, SecureSoftware, Alexander Hoole, Aurelien Delaitre
Bad pair: 149201  
Replacing: 2134  
Test suite: 101  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o HeapOverFlow-good HeapOverFlow-good.c
Submission date2015-03-23
DescriptionAn example to prevent heap overflow.

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

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