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

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

Test Case IDCandidate199252
Bad / Good / MixedGoodGood test case
AuthorToyota ITC
Bad pair: 199251  
Test suite: 104  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -I ../../../shared/104 deletion_of_data_structure_sentinel.c deletion_of_data_structure_sentinel_main.c -lm -lpthread
Submission date2016-07-22
DescriptionDefect Type: Dynamic memory defects
Defect Sub-type: Deletion of data structure sentinel
Description: Defect Free Code to identify false positives while deletion of data structure sentinel

The test case contains coincidental weaknesses along with intended ones as follows for file deletion_of_data_structure_sentinel.c:
* line(s): 25 CWE-476

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

File Contains:
CWE-463: Deletion of Data Structure Sentinel on line(s): 25, 40, 61
CWE-476: NULL Pointer Dereference on line(s): 25