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 (15)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C Coding Standard
3 Recommendations
Rec. 09. Input Output (FIO)
FIO03-C. Do not make assumptions about fopen() and file creation
Page Information
Title:
FIO03-C. Do not make assumptions about fopen() and file creation
Author:
Jeffrey Gennari
Sep 26, 2006
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/-tYxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (3)
Page:
FIO01-C. Be careful using functions that use file names for identification
Page:
POS05-C. Limit access to files by creating a jail
Page:
POS01-C. Check for the existence of links when dealing with files
Android (1)
Page:
Unknown Applicability (C Rules/Recomendations)
Hierarchy
Parent Page
Page:
Rec. 09. Input Output (FIO)
Labels
Global Labels (4)
fio
android-unknown
unenforceable
recommendation
Recent Changes
Time
Editor
Apr 20, 2023 06:08
Jill Britton
View Changes
Apr 26, 2021 04:21
Jill Britton
View Changes
Apr 21, 2021 05:28
Jill Britton
View Changes
Apr 20, 2021 06:44
Jill Britton
View Changes
Sep 03, 2019 11:00
Anirban Gangopadhyay
View Page History
Outgoing Links
External Links (9)
msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v…
msdn.microsoft.com/en-us/library/z5hh6ee9(v=vs.110).aspx
www.gnu.org/software/libc/manual/html_node/Opening-Streams.…
https://www.securecoding.cert.org/confluence/display/seccod…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
www.ietf.org/rfc/rfc1813.txt
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C++ Coding Standard (2)
Page:
VOID FIO03-CPP. Do not make assumptions about fopen() and file creation
Home page:
SEI CERT C++ Coding Standard
SEI CERT C Coding Standard (9)
Page:
Coverity
Page:
LDRA_V
Page:
BB. Definitions
Page:
Helix QAC
Page:
LDRA
Home page:
SEI CERT C Coding Standard
Page:
AA. Bibliography
Page:
Helix QAC_V
Page:
FIO10-C. Take care when using the rename() function
Overview
Content Tools
{"serverDuration": 112, "requestCorrelationId": "2a867636627163e7"}