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
2 Rules
Rule 07. Input Output (FIO)
FIO51-CPP. Close files when they are no longer needed
Page Information
Title:
FIO51-CPP. Close files when they are no longer needed
Author:
Justin Pincar
Aug 13, 2008
Last Changed by:
Jill Britton
Jan 19, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/6Hw-BQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (1)
Page:
FIO04-J. Release resources when they are no longer needed
SEI CERT C Coding Standard (1)
Page:
FIO22-C. Close files before spawning processes
Hierarchy
Parent Page
Page:
Rule 07. Input Output (FIO)
Labels
Global Labels (8)
notes
review-dms
nptc
review
rule
fio
review-ajb
nptc-intent
Recent Changes
Time
Editor
Jan 19, 2023 07:03
Jill Britton
View Changes
Apr 27, 2022 09:22
Jill Britton
View Changes
Apr 26, 2021 05:32
Jill Britton
View Changes
Apr 21, 2021 04:23
Jill Britton
View Changes
Apr 20, 2021 10:47
Jill Britton
View Page History
Outgoing Links
External Links (7)
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://www.mathworks.com/help/bugfinder/ref/certcfio51cpp.…
https://wiki.sei.cmu.edu/confluence/display/cplusplus/Polys…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.securecoding.cert.org/confluence/display/cplusp…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C++ Coding Standard (13)
Page:
Klocwork_V
Page:
BB. Definitions
Page:
MEM51-CPP. Properly deallocate dynamically allocated resources
Page:
Parasoft
Page:
ERR50-CPP. Do not abruptly terminate the program
Page:
CodeSonar_V
Page:
CodeSonar
Page:
Helix QAC
Home page:
SEI CERT C++ Coding Standard
Page:
Polyspace Bug Finder_V
Page:
Helix QAC_V
Page:
Parasoft_V
Page:
AA. Bibliography
SEI CERT C Coding Standard (1)
Page:
FIO42-C. Close files when they are no longer needed
Overview
Content Tools
{"serverDuration": 69, "requestCorrelationId": "b12f5d817bafafdd"}