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

minor: add defensive check on data->multi->num_alive #5540

Closed
wants to merge 1 commit into from

Conversation

xquery
Copy link
Member

@xquery xquery commented Jun 8, 2020

add DEBUGASSERT to check that data->multi->num_alive is greater then 0 before we try to decrement it.

@xquery xquery requested a review from bagder June 8, 2020 11:27
lib/multi.c Outdated Show resolved Hide resolved
@bagder bagder closed this in 0a35580 Jun 8, 2020
@bagder
Copy link
Member

bagder commented Jun 8, 2020

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants