Skip to content

Glossary: Physical and Wireless Vectors, and Vulnerabilities

TOCTOU (time-of-check to time-of-use)

Also written: TOC, TOU, time-of-check, time-of-use, CWE-367

A race condition where something changes between the moment a program checks it (TOC) and the moment it uses it (TOU), so the check is out of date. Make check and use one atomic step to fix it.

Where the book teaches it

Related terms

Race conditionAtomic operationSymbolic linkO_NOFOLLOW