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

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

Test Case IDCandidate199314
Bad / Good / MixedGoodGood test case
AuthorToyota ITC
Associations
Bad pair: 199313  
Test suite: 104  
Added byCharles Oliveira
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -I ../../../shared/104 st_underrun.c st_underrun_main.c -lm -lpthread
Submission date2016-07-22
DescriptionDefect Type: Stack related defects
Defect Sub-type: Stack underrun
Description: Defect Free Code to identify false positives in stack underrun conditions

The test case contains coincidental weaknesses along with intended ones as follows for file st_underrun.c:
* line(s): 51,235,237 CWE-124
* line(s): 212 CWE-121
File(s)
Flaw

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

File Contains:
CWE-124: Buffer Underwrite ('Buffer Underflow') on line(s): 25, 51, 92, 130, 151, 235, 237
CWE-121: Stack-based Buffer Overflow on line(s): 212