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

Avoid an assert in ves_icall_RuntimeFieldInfo_SetValueInternal #21410

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

monojenkins
Copy link
Contributor

!! This PR is a copy of dotnet/runtime#64214, please do not edit or review it in this repo !!
Do not automatically approve this PR:

* Consider how the changes affect configurations in this repo,
* Check effects on files that are not mirrored,
* Identify test cases that may be needed in this repo.

!! Merge the PR only after the original PR is merged !!



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.

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
Copy link
Member

@monojenkins build failed

@lambdageek
Copy link
Member

/backport to 2020-02

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

Started backporting to 2020-02: https://github.com/mono/mono/actions/runs/1780827214

@lambdageek lambdageek self-assigned this Feb 1, 2022
@akoeplinger akoeplinger merged commit e3c2771 into mono:main Feb 2, 2022
bholmes added a commit to Unity-Technologies/mono that referenced this pull request Feb 3, 2022
…21410)

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.

Co-authored-by: bholmes <bholmes@users.noreply.github.com>
hannem-rythmos pushed a commit to Unity-Technologies/mono that referenced this pull request Apr 26, 2022
…21410)

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.

Co-authored-by: bholmes <bholmes@users.noreply.github.com>
hannem-rythmos pushed a commit to Unity-Technologies/mono that referenced this pull request Apr 26, 2022
…21410)

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.

Co-authored-by: bholmes <bholmes@users.noreply.github.com>
ThomasKuehne pushed a commit to ThomasKuehne/mono that referenced this pull request Mar 23, 2024
…21410)

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.

Co-authored-by: bholmes <bholmes@users.noreply.github.com>
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.

4 participants
0