Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

Fixes #110394

The blind cast from a void* to an OBJECTREF can create "invalid" object refs. This is a limitation of the OBJECTREF validation system. In this case, using the proper helper function fixes the problem.

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 06a8404 into dotnet:main Dec 5, 2024
85 of 90 checks passed
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the runtime_110394 branch December 5, 2024 04:55
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2025
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.

AF Thread::IsObjRefValid(&objref) in RuntimeMethodHandle_InvokeMethod

2 participants