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

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

Test Case IDDeprecated102
Bad / Good / MixedBadBad test case
Author
Associations
Replaced by: 149051  
Test suite: 17  45  9  47  
Added byFortify
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2006-01-04
DescriptionA file is accessed multiple times by name in a publically accessible directory. A race condition exists between the accesses where an attacker can replace the file referenced by the name. PLOVER: RACE.TOCTOU
File(s)
Flaw

There is 1 comment
Have any comments on this test case? Please, .

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