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+dev38 #1360

Merged
merged 3 commits into from
Feb 2, 2023
Merged

Conversation

dzbaker
Copy link
Collaborator

@dzbaker dzbaker commented Feb 2, 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 19, 2023 09:40
Improves default support for return values of sizes other than 32 bits.
Previously this required a custom handler for any value that was not a
32 bit integer.  With this update any integer value can be used, and a
value translation will occur if the size is differnt.  Thus boolean
values, 8,16, and 64-bit ints can be configured through the same basic
API without needing to add a handler.
--StubPtr->Data.Rc.Count;
/* For "unknown" types the pointer is stored directly - this allows for ANY return type of ANY size,
* but requires that the caller maintain the buffer in scope until the test completes */
StubPtr->Data.Rvc.Buf.IndirectPtr = ValuePtr;

Check warning

Code scanning / CodeQL-security

Local variable address stored in non-local memory

A stack address which arrived via a [parameter](1) may be assigned to a non-local variable.
@dzbaker dzbaker merged commit 13d03a2 into main Feb 2, 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