-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static analysis issues JSC 2.1 #444
Labels
Comments
chillfig
added
bug
CCB:Ready
Ready for discussion at the Configuration Control Board (CCB)
labels
May 23, 2024
chillfig
pushed a commit
to chillfig/CF
that referenced
this issue
Jun 6, 2024
2 tasks
chillfig
pushed a commit
to chillfig/CF
that referenced
this issue
Jun 6, 2024
chillfig
pushed a commit
to chillfig/CF
that referenced
this issue
Jun 10, 2024
chillfig
removed
the
CCB:Ready
Ready for discussion at the Configuration Control Board (CCB)
label
Jun 13, 2024
chillfig
pushed a commit
to chillfig/CF
that referenced
this issue
Jun 18, 2024
…rnlen This commit addresses issues flagged during static analysis by: - Adding JSC 2.1 disposition comments. - Making CF_strnlen publicly accessible and replacing strlen with it.
chillfig
pushed a commit
to chillfig/CF
that referenced
this issue
Jun 21, 2024
This commit addresses issues flagged during static analysis by: - Adding JSC 2.1 disposition comments. - Replacing strlen with OS_strnlen.
chillfig
pushed a commit
to chillfig/CF
that referenced
this issue
Jun 27, 2024
This commit addresses issues flagged during static analysis by: - Adding JSC 2.1 disposition comments. - Replacing strlen with OS_strnlen.
dzbaker
added a commit
that referenced
this issue
Jul 2, 2024
Fix #444, Adds JSC 2.1 Static Analysis comments and exposes CF_strnlen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist (Please check before submitting)
Describe the bug
Handful of static analysis issues. This report records the findings from the static analysis to facilitate their tracking.
To Reproduce
N/A. These issues were communicated by JSC.
Expected behavior
A clear and concise description of what you expected to happen.
Code snips
N/A
System observed on:
N/A
Additional context
N/A
Reporter Info
Imported from JSC 2.1 static analysis
Source Folder Source Filename Source Line Source Object Disposition
Unsafe Functions: (Medium Risk)
\apps\cf\fsw\src cf_utils.c 199 strlen Will Fix. CF PR #448
Unchecked Return Value on Function / Truncation of Data Risk
\apps\cf\fsw\src cf_utils.c 186 snprintf Will Not Fix. No need to check snprintf return; buffer size is sufficient for the formatted output.
\apps\cf\fsw\src cf_utils.c 191 snprintf Will Not Fix. No need to check snprintf return; buffer size is sufficient for the formatted output.
\apps\cf\fsw\src cf_utils.c 195 snprintf Will Not Fix. No need to check snprintf return; buffer size is sufficient for the formatted output.
The text was updated successfully, but these errors were encountered: