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 Jun 8, 2020
lib/multi.c Outdated Show resolved Hide resolved
@xquery xquery force-pushed the xquery:add_debug_assert branch from c748756 to 194e1f7 Jun 8, 2020
@bagder
bagder approved these changes Jun 8, 2020
@bagder bagder closed this in 0a35580 Jun 8, 2020
@bagder
Copy link
Member

@bagder bagder commented Jun 8, 2020

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.