Skip to content
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

CFE_TIME_Print possible improvements #1202

Open
skliper opened this issue Mar 3, 2021 · 0 comments
Open

CFE_TIME_Print possible improvements #1202

skliper opened this issue Mar 3, 2021 · 0 comments

Comments

@skliper
Copy link
Contributor

skliper commented Mar 3, 2021

Is your feature request related to a problem? Please describe.
CFE_TIME_Print doesn't take a buffer size such that the write to the buffer can be limited, also "clunky" implementation to write to the buffer.

Describe the solution you'd like
Use snprintf? Consider new API that includes buffer size?

Describe alternatives you've considered
None.

Additional context
Could be part of more significant TIME refactor - #302
There is a strange static analysis warning on the null character addition that would go away, but somewhat unrelated.

Requester Info
Full name and company/organization if applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant