Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C Coding Standard
3 Recommendations
Rec. 50. POSIX (POS)
POS01-C. Check for the existence of links when dealing with files
Page Information
Title:
POS01-C. Check for the existence of links when dealing with files
Author:
Robert Seacord
Mar 01, 2007
Last Changed by:
Will Snavely
Nov 16, 2017
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/9NYxBQ
Export As:
Word
·
PDF
Incoming Links
Android (1)
Page:
Unknown Applicability (C Rules/Recomendations)
SEI CERT C Coding Standard (2)
Page:
POS38-C. Beware of race conditions when using fork and file descriptors
Page:
FIO32-C. Do not perform operations on devices that are only appropriate for files
Hierarchy
Parent Page
Page:
Rec. 50. POSIX (POS)
Labels
Global Labels (8)
rose-false-positive
cwe-59
cwe-367
android-unknown
opening-files
recommendation
pos
cwe-362
Recent Changes
Time
Editor
Nov 16, 2017 14:41
Will Snavely
View Changes
Jan 05, 2017 14:22
Will Snavely
View Changes
Oct 26, 2015 14:10
Sandy Shrum
View Changes
Mar 31, 2015 23:44
Will Snavely
View Changes
Mar 30, 2015 16:32
Will Snavely
View Page History
Outgoing Links
External Links (10)
www.opengroup.org/onlinepubs/009695399/functions/open.html
msdn.microsoft.com/en-us/library/aa363860(VS.85).aspx
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/data/definitions/59.html
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
cwe.mitre.org/data/definitions/367.html
cwe.mitre.org/data/definitions/362.html
https://www.securecoding.cert.org/confluence/display/seccod…
cwe.mitre.org/
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C Coding Standard (6)
Page:
AA. Bibliography
Page:
POS35-C. Avoid race conditions while checking for the existence of a symbolic link
Home page:
SEI CERT C Coding Standard
Page:
FIO03-C. Do not make assumptions about fopen() and file creation
Page:
FIO05-C. Identify files using multiple file attributes
Page:
Rose
Overview
Content Tools
{"serverDuration": 74, "requestCorrelationId": "91275b39b12d24a7"}