@abstracted.away: A tiny gap between "check" and "use" is all it takes to hijack a file, an SSH key, or a server. That's the TOCTOU bug. #racecondition #concurrency #computerscience #programming

Abstracted Away
Abstracted Away
Open In TikTok:
Region: US
Monday 21 September 2026 20:09:08 GMT
14179
588
6
25

Music

Download

Comments

weswinham
Wes Winham :
The python context manager doesn't already do this with the FD?
2026-09-21 20:27:35
0
abstracted.away
Abstracted Away :
Have you ever hit a similar race condition in production? How did you catch and fix it?
2026-09-22 20:51:12
0
eshaps64
EShaps64 :
Also, only follow symlinks when you really need to.
2026-09-21 22:44:34
1
stevenpppwy
steve :
Any “gap” between checking and updating is a giant fucking hole. That applies to files in this example, or transactions in a database. 🤦‍♂️
2026-09-21 21:32:27
1
thractualfbi
FBI :
I'm gonna try this and I'm 19
2026-09-29 20:00:51
0
To see more videos from user @abstracted.away, please go to the Tikwm homepage.

Other Videos


About