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)
FIO24-C. Do not open a file that is already open
Page Information
Title:
FIO24-C. Do not open a file that is already open
Author:
Justin Pincar
Jun 08, 2007
Last Changed by:
David Svoboda
Apr 05, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/CtYxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (1)
Page:
FIO41-C. Do not call getc(), putc(), getwc(), or putwc() with a stream argument that has side effects
Android (1)
Page:
Unknown Applicability (C Rules/Recomendations)
Hierarchy
Parent Page
Page:
Rec. 09. Input Output (FIO)
Labels
Global Labels (9)
review-dms
review
fio
android-unknown
cwe-675
review-rcs
recommendation
review-ajb
cwe-362
Recent Changes
Time
Editor
Apr 05, 2024 15:44
David Svoboda
View Changes
Jul 27, 2023 14:18
Jon O'Donnell
View Changes
Feb 13, 2023 15:29
David Svoboda
View Changes
removed "search for vuls" since that is dead
Feb 12, 2023 03:16
Yozo TODA
View Changes
another follow-up change from FIO31-C to FIO24-C, though I suppose this search URL doesn't work now...
Feb 10, 2023 17:52
David Svoboda
View Page History
Outgoing Links
External Links (9)
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/675.html
https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/data/definitions/362.html
cwe.mitre.org/
https://www.mathworks.com/help/bugfinder/ref/certcrec.fio24…
https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Co…
SEI CERT C Coding Standard (11)
Page:
CodeSonar_V
Page:
CodeSonar
Page:
Parasoft_V
Page:
Polyspace Bug Finder_V
Page:
LDRA
Page:
AA. Bibliography
Page:
LDRA_V
Page:
BB. Definitions
Page:
FIO45-C. Avoid TOCTOU race conditions while accessing files
Home page:
SEI CERT C Coding Standard
Page:
Parasoft
SEI CERT C++ Coding Standard (2)
Home page:
SEI CERT C++ Coding Standard
Page:
VOID FIO21-CPP. Do not simultaneously open the same file multiple times
Overview
Content Tools
{"serverDuration": 100, "requestCorrelationId": "d0b45025f56ff069"}