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

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

Test Case IDCandidate149168
Bad / Good / MixedGoodGood test case
AuthorNIST, Alexander Hoole, Aurelien Delaitre
Bad pair: 149167  
Replacing: 1908  
Test suite: 101  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o stack_overflow_index_alias-good stack_overflow_index_alias-good.c
Submission date2015-03-23
DescriptionThe test case avoids a Stack Overflow by fixing a bad array index.

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

File Contains:
CWE-121: Stack-based Buffer Overflow on line(s): 19