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

correctly set heap_limit in KiB #182

Closed
wants to merge 1 commit into from

Conversation

carenas
Copy link
Contributor

@carenas carenas commented Dec 29, 2022

Noticed while doing sanitizer runs, as the multiplication will overflow an uint32_t, which for the default would result in an even larger value than expected.

After d90fb23 (Refactor match_data() to always use the heap instead
of having an initial frames vector on the stack..., 2022-07-27)
there was no longer a need to multiply the heap limit by 1024, but
there was a missed spot.
@carenas carenas marked this pull request as draft December 29, 2022 20:13
@carenas
Copy link
Contributor Author

carenas commented Dec 29, 2022

this is incorrect and was indeed part of the change

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.

1 participant