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

(0.35) Avoid size overflow when allocating memory #156

Merged
merged 3 commits into from
Oct 19, 2022

Conversation

pshipton
Copy link
Member

Cherry pick the commits from eclipse/omr#6771 for 0.35

Commit 1 - Guard against very large allocation sizes which overflow
when memory tagging overhead is added.

Commit 2 - omrmemtest: check that large allocations don't overflow.

Commit 3 - Handle reallocation failures: Restore allocation headers in
the case realloc fails.

Guard against very large allocation sizes which overflow when memory
tagging overhead is added.

Signed-off-by: Devin Nakamura <devinn@ca.ibm.com>
Signed-off-by: Devin Nakamura <devinn@ca.ibm.com>
Restore allocation headers in the case realloc fails

Signed-off-by: Devin Nakamura <devinn@ca.ibm.com>
@babsingh babsingh merged commit 85a2167 into eclipse-openj9:v0.35.0-release Oct 19, 2022
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.

3 participants