Main Content
CWE Rule 367
Description
Rule Description
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.
Polyspace Implementation
The rule checker checks for File access between time of check and use (TOCTOU).
Examples
Check Information
Category: Concurrency Issues |
Version History
Introduced in R2024a