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_EVS_Register should log or send an event when NumEventFilters > CFE_PLATFORM_EVS_MAX_EVENT_FILTERS #723

Closed
johnphamngc opened this issue May 28, 2020 · 0 comments · Fixed by #1133 or #1150
Labels
Milestone

Comments

@johnphamngc
Copy link

Is your feature request related to a problem? Please describe.
When NumEventFilters is > CFE_PLATFORM_EVS_MAX_EVENT_FILTERS when calling CFE_EVS_Register , the specified filter table can get silently truncated.

In addition, the Filters parameter should be marked const as it is copied into the filter table. and not modified.

Describe the solution you'd like
Send a message to syslog warning of the truncated filter table

Describe alternatives you've considered
Send an event message using the EVT appID

Additional context
This truncation happens for the CI open source app which has 12 events, but the default cfe_platform_cfg only supports 8 event filters.

Requester Info
John N Pham, Northrop Grumman

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