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)
FIO21-C. Do not create temporary files in shared directories
Page Information
Title:
FIO21-C. Do not create temporary files in shared directories
Author:
Robert Seacord
Jan 12, 2007
Last Changed by:
Jon O'Donnell
Jul 27, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/KdcxBQ
Export As:
Word
·
PDF
Incoming Links
Android (1)
Page:
Unknown Applicability (C Rules/Recomendations)
SEI CERT C Coding Standard (3)
Page:
STR30-C. Do not attempt to modify string literals
Page:
FIO08-C. Take care when calling remove() on an open file
Page:
MSC24-C. Do not use deprecated or obsolescent functions
SEI CERT Oracle Coding Standard for Java (1)
Page:
FIO03-J. Remove temporary files before termination
Hierarchy
Parent Page
Page:
Rec. 09. Input Output (FIO)
Labels
Global Labels (10)
compass/rose
review
fio
cwe-379
exceptions
sidebar
android-unknown
rose-complete
tr24731
recommendation
Recent Changes
Time
Editor
Jul 27, 2023 14:17
Jon O'Donnell
View Changes
Apr 20, 2023 06:09
Jill Britton
View Changes
Apr 26, 2021 04:23
Jill Britton
View Changes
Apr 21, 2021 05:30
Jill Britton
View Changes
Apr 20, 2021 06:46
Jill Britton
View Page History
Outgoing Links
External Links (12)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/data/definitions/379.html
www.opengroup.org/onlinepubs/009695399/functions/mkstemp.ht…
https://www.securecoding.cert.org/confluence/display/seccod…
cwe.mitre.org/
https://www.securecoding.cert.org/confluence/display/seccod…
https://www.mathworks.com/help/bugfinder/ref/certcrec.fio21…
www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/avoi…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
www.opengroup.org/onlinepubs/009695399/functions/open.html
SEI CERT C++ Coding Standard (2)
Page:
VOID FIO19-CPP. Do not create temporary files in shared directories
Home page:
SEI CERT C++ Coding Standard
SEI CERT C Coding Standard (16)
Page:
FIO15-C. Ensure that file operations are performed in a secure directory
Page:
CodeSonar
Page:
Parasoft_V
Page:
AA. Bibliography
Page:
Polyspace Bug Finder
Page:
Polyspace Bug Finder_V
Page:
Helix QAC_V
Page:
LDRA_V
Page:
Rose
Page:
CodeSonar_V
Page:
Coverity
Page:
Parasoft
Page:
LDRA
Page:
BB. Definitions
Home page:
SEI CERT C Coding Standard
Page:
Helix QAC
SEI CERT Oracle Coding Standard for Java (2)
Page:
FIO03-J. Remove temporary files before termination
Home page:
SEI CERT Oracle Coding Standard for Java
Overview
Content Tools
{"serverDuration": 92, "requestCorrelationId": "f916be5a5b6db7a5"}