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

Ensure Informer is not nil in initializeEventHandlers Method #130

Open
ciroque opened this issue Oct 24, 2023 · 0 comments
Open

Ensure Informer is not nil in initializeEventHandlers Method #130

ciroque opened this issue Oct 24, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@ciroque
Copy link
Collaborator

ciroque commented Oct 24, 2023

In the Run method, there's a check for nil informer but no such check in initializeEventHandlers method which also accesses the informer. It would be prudent to add a nil check for the informer in the initializeEventHandlers method to avoid potential nil pointer dereference issues.

@ciroque ciroque added the good first issue Good for newcomers label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant