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

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

Test Case IDCandidate199258
Bad / Good / MixedGoodGood test case
AuthorToyota ITC
Bad pair: 199257  
Test suite: 104  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -I ../../../shared/104 double_release.c double_release_main.c -lm -lpthread
Submission date2016-07-22
DescriptionDefect Type: Concurrency defects
Defect Sub-type: Double release
Description: Defect Free Code to identify false positives in double release - concurrency defects

The test case contains coincidental weaknesses along with intended ones as follows for file double_release.c:
* line(s): 24,25,48,68,69,101,120,121,149,168,169,196,217,218,245,263,264,287 CWE-561

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

File Contains:
CWE-561: Dead Code on line(s): 24, 25, 48, 68, 69, 101, 120, 121, 149, 168, 169, 196, 217, 218, 245, 263, 264, 287
CWE-765: Multiple Unlocks of a Critical Resource on line(s): 34, 78, 135, 181, 230, 273