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

Fixed nil pointer in console #1213

Merged
merged 1 commit into from Apr 25, 2023
Merged

Fixed nil pointer in console #1213

merged 1 commit into from Apr 25, 2023

Conversation

rwincey
Copy link
Contributor

@rwincey rwincey commented Apr 24, 2023

In the event that GetBeaconTaskContent returns an error in err, task is overwritten to nil. Since the err check does not return, the following call to delete(con.BeaconTaskCallbacks, task.ID) will throw a nil pointer and crash the client.

@rwincey rwincey requested a review from a team as a code owner April 24, 2023 18:47
@moloch-- moloch-- merged commit 8a9437c into BishopFox:master Apr 25, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants