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

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

Test Case IDAccepted2096
Bad / Good / MixedBadBad test case
AuthorCharline Cleraux
Test suite: 63  65  
Added byCharline Cleraux
Type of test caseSource Code
Input string
Expected Output
Submission date2009-08-21
DescriptionThe code checks the state of a file to use but its state can change while the thread function sleep is running. So results are invalid.

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

File Contains:
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition on line(s): 45