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

Avoid potential out-of-memory on call stack unwind by preallocating env property table #2106

Merged
merged 5 commits into from
Jun 9, 2019

Conversation

svaarala
Copy link
Owner

@svaarala svaarala commented Jun 9, 2019

Fixes #476. Fixes #2021.

@svaarala svaarala added the bug label Jun 9, 2019
@svaarala svaarala added this to the v2.4.0 milestone Jun 9, 2019
@svaarala svaarala force-pushed the fix-assert-gh2021 branch from 0e4bed7 to 167ee2c Compare June 9, 2019 12:15
svaarala added 5 commits June 9, 2019 15:15
This avoids a possible out-of-memory when the env is closed in unwind.
Unwind code, which may happen due to an error throw, must not throw.
@svaarala svaarala force-pushed the fix-assert-gh2021 branch 2 times, most recently from 14dc029 to 2801840 Compare June 9, 2019 12:16
@svaarala svaarala merged commit 51ce15d into master Jun 9, 2019
@svaarala svaarala deleted the fix-assert-gh2021 branch June 9, 2019 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant