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

osal Integration candidate: Caelum-rc4+dev37 #1358

Merged
merged 3 commits into from
Jan 26, 2023
Merged

Conversation

dzbaker
Copy link
Collaborator

@dzbaker dzbaker commented Jan 26, 2023

Checklist (Please check before submitting)

Describe the contribution

Testing performed
cFS Bundle Checks
osal Checks

Expected behavior changes
See PRs

System(s) tested on
Ubuntu 20.04

Additional context
Add any other context about the contribution here.

Third party code
If included, identify any third party code and provide text file of license

Contributor Info - All information REQUIRED for consideration of pull request
@jphickey

jphickey and others added 3 commits January 23, 2023 09:43
Generating the system_mountpt string via a single call to snprintf
triggered a compiler warning about overlapping memory.  However this
does not seem like a real warning, as the volume_name should always
be null terminated before the overlap would be possible.

By separating this to be a separate append of the volume_name along with
an explicit size check to ensure the buffers indeed do not overlap, this
avoids the warning.
Fix #1173, separate append on volume_name to system_mountpt
@dzbaker dzbaker merged commit 6fae788 into main Jan 26, 2023
@dmknutsen dmknutsen added this to the Draco milestone Feb 6, 2023
@dmknutsen dmknutsen modified the milestones: Draco, Equuleus May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants