All challenges
Multiple ChoiceHard 30s

TOCTOU Race

A time-of-check-to-time-of-use (TOCTOU) flaw occurs when:
Options
  1. 1Two threads incrementing a shared counter without any locking at all
  2. 2A file that once lacked read permission on the system for the user
  3. 3An integer overflow in the length field of a buffer during a copy
  4. 4State changes between the permission check and the privileged action

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle