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

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

Test Case IDCandidate199255
Bad / Good / MixedBadBad test case
AuthorToyota ITC
Associations
Good pair: 199256  
Test suite: 104  
Added byCharles Oliveira
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -I ../../../shared/104 double_lock.c double_lock_main.c -lm -lpthread
Submission date2016-07-22
DescriptionDefect Type: Concurrency defects
Defect Sub-type: Double lock
File(s)
Flaw

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

File Contains:
CWE-667: Improper Locking on line(s): 42, 94, 141, 209