Skip to content

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

Closed
xquery wants to merge 1 commit into
curl:masterfrom
xquery:add_debug_assert
Closed

minor: add defensive check on data->multi->num_alive#5540
xquery wants to merge 1 commit into
curl:masterfrom
xquery:add_debug_assert

Conversation

@xquery

@xquery xquery commented Jun 8, 2020

Copy link
Copy Markdown
Member

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
Comment thread lib/multi.c Outdated
@bagder bagder closed this in 0a35580 Jun 8, 2020
@bagder

bagder commented Jun 8, 2020

Copy link
Copy Markdown
Member

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.

2 participants