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

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

Test Case IDCandidate1598
Bad / Good / MixedBadBad test case
AuthorFortify Software
Associations
Good pair: 1599  
Test suite: 6  9  
Added byJeff Meister
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2006-06-22
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.
File(s)
Flaw

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

File Contains:
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') on line(s): 0, 41