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

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

Test Case IDAccepted2124
Bad / Good / MixedGoodGood test case
AuthorCharline Cleraux
Test suite: 64  
Added byCharline Cleraux
Type of test caseSource Code
Input string
Expected Output
Submission date2009-10-15
DescriptionSuppose the file /tmp/resourceLock is used as a resource lock. This program grabs the lock (if available), and later releases it.

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

File Contains:
CWE-412: Unrestricted Externally Accessible Lock on line(s): 0, 38, 45