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

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

Test Case IDAccepted2104
Bad / Good / MixedBadBad test case
AuthorCharline Cleraux
Associations
Test suite: 63  65  
Added byMichael Kass
LanguageJava
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2009-08-22
DescriptionThis is an example of what could be a critical resource lock weakness. A temporary file is locked by the application, but not released. If the file is used by other processes could be delayed or denied, creating a potential \"denial of service\".
File(s)
Flaw

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

File Contains:
CWE-412: Unrestricted Externally Accessible Lock on line(s): 39