Time-of-check to time-of-use: Difference between revisions

Content deleted Content added
+ pdf warning
m Robot-assisted disambiguation (you can help!): C programming language
Line 5:
== ''access'' Example ==
 
In [[Unix]], the following [[C (programming language)|C]] code, when used in a [[setuid]] program, is a TOCTTOU bug:
 
if (access(file, R_OK) != 0) {