Back to the previous page
Test Case ID | ![]() |
Bad / Good / Mixed | Good![]() |
Author | Toyota ITC |
Associations | Bad pair: 199257 Test suite: 104 |
Added by | Charles Oliveira |
Language | C |
Type of test case | Source Code |
Input string | |
Expected Output | |
Instructions | gcc -Wall -I ../../../shared/104 double_release.c double_release_main.c -lm -lpthread |
Submission date | 2016-07-22 |
Description | Defect 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 |
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, 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
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