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
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 dotnet/runtime#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.
- Loading branch information