Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mono] Copy image data with AssemblyLoadContext.LoadFromStream (#43593)
We don't actually pin the byte array, so it must be copied or it can be overwritten once we run a GC on the LOH. Fixes #43402 Tested manually that it fixes the issue using the associated repro. This isn't really something that lends itself to a test, so that's the best I can do. Co-authored-by: Ryan Lucia <[email protected]>
- Loading branch information