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

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

Test Case IDCandidate199257
Bad / Good / MixedBadBad test case
AuthorToyota ITC
Associations
Good pair: 199258  
Test suite: 104  
Added byCharles Oliveira
LanguageC
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

The test case contains coincidental weaknesses along with intended ones as follows for file double_release.c:
* line(s): 24,25,50,70,71,101,118,119,147,164,165,192,213,214,241,260,261,288 CWE-561
File(s)
Flaw

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

File Contains:
CWE-561: Dead Code on line(s): 24, 25, 50, 70, 71, 101, 118, 119, 147, 164, 165, 192, 213, 214, 241, 260, 261, 288
CWE-765: Multiple Unlocks of a Critical Resource on line(s): 35, 86, 133, 178, 226, 283