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 09. Input Output (FIO)
FIO40-C. Reset strings on fgets() or fgetws() failure
Page Information
Title:
FIO40-C. Reset strings on fgets() or fgetws() failure
Author:
Justin Pincar
Jun 12, 2007
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/JdYxBQ
Export As:
Word
·
PDF
Incoming Links
Android (1)
Page:
Unknown Applicability (C Rules/Recomendations)
SEI CERT C Coding Standard (1)
Page:
CC. Undefined Behavior
Hierarchy
Parent Page
Page:
Rule 09. Input Output (FIO)
Labels
Global Labels (11)
char-strings
nptc
rose-possible
fio
error-handling
exceptions
android-unknown
input
rule
nptc-complexity
in-cpp
Recent Changes
Time
Editor
Apr 20, 2023 05:26
Jill Britton
View Changes
Jan 18, 2023 11:59
Jill Britton
View Changes
Dec 23, 2021 10:54
Jon O'Donnell
View Changes
Jun 24, 2021 10:36
Svyatoslav Razmyslov
View Changes
Apr 23, 2021 04:35
Jill Britton
View Page History
Outgoing Links
External Links (8)
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
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/display/cplusplus/PVS-S…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://pvs-studio.com/en/docs/warnings/v1024/
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.mathworks.com/help/bugfinder/ref/certcrulefio40…
SEI CERT C Coding Standard (13)
Page:
LDRA
Page:
Helix QAC_V
Home page:
SEI CERT C Coding Standard
Page:
LDRA_V
Page:
BB. Definitions
Page:
Parasoft
Page:
Helix QAC
Page:
CodeSonar_V
Page:
Polyspace Bug Finder_V
Page:
CC. Undefined Behavior
Page:
CodeSonar
Page:
PVS-Studio_V
Page:
Parasoft_V
Overview
Content Tools
{"serverDuration": 81, "requestCorrelationId": "b8ff8716c27587a7"}