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

Add missing concreteness checks to most array ops #1128

Merged
merged 1 commit into from Oct 14, 2019

Conversation

Kaiepi
Copy link
Contributor

@Kaiepi Kaiepi commented Jun 24, 2019

This fixes a ton of segfaults when type objects are passed to array ops,
along with one case in particular where splicing a type object on index
0, inserting 0 elements from another type object would cause moar to
attempt to allocate an 18 quintillion element array.

This fixes a ton of segfaults when type objects are passed to array ops,
along with one case in particular where splicing a type object on index
0, inserting 0 elements from another type object would cause moar to
attempt to allocate an 18 quintillion element array.
@jnthn jnthn merged commit 07b00bb into MoarVM:master Oct 14, 2019
@jnthn
Copy link
Member

jnthn commented Oct 14, 2019

Makes sense to me; thanks!

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

2 participants