-
Notifications
You must be signed in to change notification settings - Fork 202
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
Clean up strncpy use #1089
Comments
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 12, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 13, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 13, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 13, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 13, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 13, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 13, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 14, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 14, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 25, 2021
skliper
added a commit
to skliper/cFE
that referenced
this issue
Jan 25, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Still occasionally using hardcoded defines for the character array length. Better to use sizeof to simplify maintenance. Also not always setting last character null.
Example:
cFE/fsw/cfe-core/src/es/cfe_es_api.c
Line 1710 in 1ede295
...
cFE/fsw/cfe-core/src/es/cfe_es_api.c
Lines 1740 to 1741 in 1ede295
Describe the solution you'd like
Use sizeof.
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: