Y
Hacker News
new
|
ask
|
show
|
jobs
by
Someone
1678 days ago
That introduces a time-of-check to time-of-use bug (
https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use
).
2 comments
waterhouse
1678 days ago
Aha. If only the API was "Execute a user-provided function in a context where the computer is guaranteed to be on".
link
nvader
1678 days ago
Ah, good ole TOCTOU
link