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

fix the realloc mistake #162

Closed
wants to merge 1 commit into from
Closed

Conversation

zengwei2000
Copy link

'buffer' nulled but not freed upon failure

'buffer' nulled but not freed upon failure
@XVilka
Copy link

XVilka commented Jun 30, 2023

@orangeduck could you please have a look at this one?

@orangeduck
Copy link
Owner

mpc doesn't actually handle elegantly memory allocation fails at all. So if you want to make it handle memory allocation fails there are probably many more places you will have to change the code.

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