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

fix(events): fix incorrect handling of event parameters #4548

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

oshaked1
Copy link
Contributor

If an event that uses parameters is enabled but not present in all policies, a nil access occurs and tracee panics. This fix makes sure the event is present in each policy before accessing its parameters.

If an event that uses parameters is enabled but not present in all policies, a nil access occurs and tracee panics.
This fix makes sure the event is present in each policy before accessing its parameters.
@geyslan
Copy link
Member

geyslan commented Jan 23, 2025

@yanivagman would this conflict with yours?

@yanivagman yanivagman merged commit a6ea82e into aquasecurity:main Jan 26, 2025
42 checks passed
@oshaked1 oshaked1 deleted the event_parameters_fix branch January 26, 2025 15:19
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