8000 [2020-02] Avoid an assert in ves_icall_RuntimeFieldInfo_SetValueInternal by github-actions[bot] · Pull Request #21420 · mono/mono · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[2020-02] Avoid an assert in ves_icall_RuntimeFieldInfo_SetValueInternal #21420

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

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

github-actions[bot]
Copy link
Contributor
@github-actions github-actions bot commented Feb 1, 2022

Backport of #21410 to 2020-02

/cc @lambdageek @monojenkins

When the field is byref but the value being passes in is not, throw an
ArgumentException. Without this change the call to
mono_object_handle_pin_unbox will assert and kill the process.

This can occur when de-serializing an object and the field types have
changed.
@lambdageek lambdageek self-assigned this Feb 1, 2022
@lambdageek
Copy link
Member

@monojenkins build

@akoeplinger akoeplinger merged commit a6f3e8f into 2020-02 Feb 2, 2022
@akoeplinger akoeplinger deleted the backport/pr-21410-to-2020-02 branch February 2, 2022 11:57
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
0