Title: FIO42-C. Close files when they are no longer needed  
Author: Robert Seacord Dec 04, 2013
Last Changed by: Anirban Gangopadhyay Oct 21, 2019
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/QtUxBQ
Export As: Word · PDF  
Incoming Links
SEI CERT C++ Coding Standard (1)
    Page: FIO51-CPP. Close files when they are no longer needed
Android (1)
    Page: Unknown Applicability (C Rules/Recomendations)
Hierarchy
Parent Page
    Page: Rule 09. Input Output (FIO)
Labels
Outgoing Links
External Links (25)
    https://wiki.sei.cmu.edu/confluence/display/java/SEI+CERT+O…
    https://www.mathworks.com/help/bugfinder/ref/certcrulefio42…
    https://cwe.mitre.org/data/index.html
    msdn.microsoft.com/en-us/library/windows/desktop/ms724211(v…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
    https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://wiki.sei.cmu.edu/confluence/display/cplusplus/FIO51…
    https://cwe.mitre.org/data/index.html773.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v…
    https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
    cwe.mitre.org/data/definitions/404.html
    https://cwe.mitre.org/data/index.html459.html
    https://support.roguewave.com/documentation/klocwork/en/cur…
    https://cwe.mitre.org/data/definitions/403.html
    https://cwe.mitre.org/data/index.html772.html
    https://cwe.mitre.org/data/index.html775.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/java/FIO04-J.+R…
    cwe.mitre.org/
SEI CERT C Coding Standard (19)     Page: Astrée
    Page: PRQA QA-C
    Page: CodeSonar_V
    Page: CodeSonar
    Page: Coverity_V
    Page: Parasoft
    Page: AA. Bibliography
    Page: LDRA
    Page: Rose
    Page: Klocwork
    Page: LDRA_V
    Page: Klocwork_V
    Page: PRQA QA-C_v
    Page: Coverity
    Page: Astrée_V
    Page: Polyspace Bug Finder_V
    Home page: SEI CERT C Coding Standard
    Page: BB. Definitions
    Page: Parasoft_V