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

Add assert for FD_SET_SIZE in relation to OSAL_set #855

Closed
skliper opened this issue Mar 10, 2021 · 0 comments · Fixed by #897 or #917
Closed

Add assert for FD_SET_SIZE in relation to OSAL_set #855

skliper opened this issue Mar 10, 2021 · 0 comments · Fixed by #897 or #917
Assignees
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Mar 10, 2021

Is your feature request related to a problem? Please describe.
FD_SET has limits:

FD_SET(osfd, os_set);

Describe the solution you'd like
Should respect the FD_SET_SIZE limit (prefer compile time error)

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC, OSAL code review

@skliper skliper added this to the 6.0.0 milestone Mar 10, 2021
jphickey added a commit to jphickey/osal that referenced this issue Mar 12, 2021
The select() implementation utilizes its own set size limit
that should be checked.
jphickey added a commit to jphickey/osal that referenced this issue Mar 12, 2021
The select() implementation utilizes its own set size limit
that should be checked.
astrogeco added a commit to astrogeco/osal that referenced this issue Mar 19, 2021
Fix nasa#855, check against FD_SETSIZE in bsd-select

The select() implementation utilizes its own set size limit
that should be checked.
astrogeco added a commit to astrogeco/osal that referenced this issue Mar 19, 2021
Fix nasa#855, check against FD_SETSIZE in bsd-select

The select() implementation utilizes its own set size limit
that should be checked.
astrogeco added a commit to astrogeco/cFS that referenced this issue Mar 19, 2021
astrogeco added a commit to astrogeco/osal that referenced this issue Mar 22, 2021
Fix nasa#855, check against FD_SETSIZE in bsd-select

The select() implementation utilizes its own set size limit
that should be checked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants