Safety & Security
Time of Check to Time of Use
A race condition in which the state relied on by a check changes before the protected operation uses it. Rechecking earlier is not enough if another change can still occur afterward. Appropriate atomic operations, locks or version constraints depend on the resource and threat.
Also called: TOCTOU
Reviewed
Sources
Member lesson
The definition and sources are public. The complete practical lesson is for members.