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

[mono][llvm] Added a null-check for 2-dim array access #79450

Merged
merged 4 commits into from
Dec 20, 2022

Conversation

jandupej
Copy link
Member

@jandupej jandupej commented Dec 9, 2022

This addresses #79022 by adding a null-check to 2-dim array accessors. This ensures that a managed exception is generated in the right place. Otherwise a native exception may be generated instead when reading inaccessible memory. This would not be caught correctly in LLVM AOT.

@jandupej jandupej marked this pull request as ready for review December 12, 2022 10:59
@jandupej
Copy link
Member Author

Some build failures due to 79843.

@jandupej jandupej merged commit af8a9fa into dotnet:main Dec 20, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants