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

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

Test Case IDCandidate149167
Bad / Good / MixedBadBad test case
AuthorNIST, Alexander Hoole, Aurelien Delaitre
Good pair: 149168  
Replacing: 1907  
Test suite: 100  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o stack_overflow_index_alias-bad stack_overflow_index_alias-bad.c
Submission date2015-03-23
DescriptionThe test case shows a Stack Overflow with an off-by-one 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