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(dependencies): allow multiple removes of same event #3961

Conversation

AlonZivony
Copy link
Contributor

1. Explain what the PR does

Fix a bug of nil pointer reference when removing an event node from the dependencies after it was already removed.

2. Explain how to test it

3. Other comments

Fix a bug of nil pointer reference when removing an event node
from the dependencies after it was already removed.
Use the new dependencies manager to cancel events with missing ksymbols dependencies.
Whenever choose an event, add all its dependencies to the eventsState
to submit.
The dependencies watcher is only triggered when an event is added to the tree,
so it can't be relied upon to add dependencies to state for each policy.
@AlonZivony AlonZivony requested a review from geyslan April 4, 2024 15:16
@AlonZivony AlonZivony force-pushed the bugfix/allow-remove-event-twice-dependencies branch 3 times, most recently from b51787c to 1af29e8 Compare April 4, 2024 15:22
@AlonZivony AlonZivony force-pushed the bugfix/allow-remove-event-twice-dependencies branch from 055de86 to b7f8000 Compare April 4, 2024 16:47
@geyslan
Copy link
Member

geyslan commented Apr 4, 2024

E2E 1446 is green.

Copy link
Member

@geyslan geyslan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@geyslan geyslan merged commit 6eb44be into aquasecurity:main Apr 4, 2024
32 checks passed
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.

2 participants