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

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

Test Case IDCandidate199251
Bad / Good / MixedBadBad test case
AuthorToyota ITC
Associations
Good pair: 199252  
Test suite: 104  
Added byCharles Oliveira
LanguageC
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 Code to identify defects 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
File(s)
Flaw

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