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. 09. Input Output (FIO)
FIO22-C. Close files before spawning processes
Page Information
Title:
FIO22-C. Close files before spawning processes
Author:
Jeffrey Gennari
Aug 21, 2007
Last Changed by:
Jill Britton
Apr 27, 2022
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/8tUxBQ
Export As:
Word
·
PDF
Incoming Links
Android (1)
Page:
Unknown Applicability (C Rules/Recomendations)
SEI CERT Oracle Coding Standard for Java (1)
Page:
FIO04-J. Release resources when they are no longer needed
Hierarchy
Parent Page
Page:
Rec. 09. Input Output (FIO)
Labels
Global Labels (13)
ldra
fortify
compass/rose
cwe-403
cwe-770
fio
android-unknown
rose-partial
posix
recommendation
file
cwe-404
klocwork
Recent Changes
Time
Editor
Apr 27, 2022 08:50
Jill Britton
View Changes
Dec 06, 2018 09:10
Michal Rozenau
View Changes
Parasoft C/C++test 10.4.1 update
Nov 16, 2017 14:41
Will Snavely
View Changes
Feb 22, 2017 15:18
Lisa Robertson
View Changes
Jan 27, 2017 12:36
Will Snavely
View Page History
Outgoing Links
External Links (10)
https://www.securecoding.cert.org/confluence/display/seccod…
cwe.mitre.org/
cwe.mitre.org/data/definitions/770.html
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
msdn.microsoft.com/en-us/library/ms683463.aspx
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/data/definitions/404.html
cwe.mitre.org/data/definitions/403.html
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
SEI CERT C++ Coding Standard (2)
Home page:
SEI CERT C++ Coding Standard
Page:
FIO51-CPP. Close files when they are no longer needed
SEI CERT C Coding Standard (14)
Page:
WIN03-C. Understand HANDLE inheritance
Page:
Parasoft_V
Page:
Klocwork_V
Page:
AA. Bibliography
Page:
LDRA
Page:
LDRA_V
Page:
Parasoft
Page:
Rose
Page:
FIO02-C. Canonicalize path names originating from tainted sources
Page:
Klocwork
Page:
ENV33-C. Do not call system()
Page:
CC. Undefined Behavior
Page:
BB. Definitions
Home page:
SEI CERT C Coding Standard
SEI CERT Oracle Coding Standard for Java (2)
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
FIO04-J. Release resources when they are no longer needed
Overview
Content Tools
{"serverDuration": 94, "requestCorrelationId": "9712ed0aaf521eed"}