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

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

Test Case IDCandidate149055
Bad / Good / MixedBadBad test case
AuthorFortify Software, Alexander Hoole, Aurelien Delaitre
Associations
Good pair: 149056  
Replacing: 1544  
Test suite: 100  
Added byCharles Oliveira
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o ahdec1-bad ahdec1-bad.c
Submission date2015-03-23
DescriptionA string decode function misses a termination check which allows the decode to proceed past the end of the buffer.
File(s)
Flaw

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

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