...
| Wiki Markup |
|---|
Some systems provide the O_NOFOLLOW flag to help mitigate this problem. The flag will be required by the forthcoming POSIX.1-2008 standard, and so will become more portable over time \[[Austin Group 08|AA. References#AustinBibliography#Austin Group 08]\]. If the flag is set and the supplied {{file_name}} is a symbolic link, then the open will fail. |
...
| Wiki Markup |
|---|
\[[Austin Group 08|AA. References#AustinBibliography#Austin Group 08]\] \[[MITRE|AA. References#MITREBibliography#MITRE]\] [CWE ID 59|http://cwe.mitre.org/data/definitions/59.html], "Failure to Resolve Links Before File Access (aka 'Link Following')" \[MITRE\] [CWE ID 362|http://cwe.mitre.org/data/definitions/362.html], "Race Condition" \[MITRE\] [CWE ID 367|http://cwe.mitre.org/data/definitions/367.html], "CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition" \[[Open Group 04|AA. References#OpenBibliography#Open Group 04]\] [{{open()}}|http://www.opengroup.org/onlinepubs/009695399/functions/open.html] \[[Seacord 05|AA. References#SeacordBibliography#Seacord 05]\] Chapter 7, "File I/O" |
...