National Institute of Standards and Technology
Package illustrating a test case

Test case 149102

Description

The test case avoids a Time-of-Check-Time-of-Use (TOCTOU) race condition between checking access permissions and then opening and writing to the file.

Flaws

Have any comments on this test case? Please, send us an email.