Fix interleaved heap RW commit failure handling (#73566)
We were not checking the result of the ExecutableAllocator::Commit call for mapping the RW page in the case of interleaved heaps. I've seen a failure in the CI that seems to be caused by this - when we succeeded committing the RX page, but failed to commit the related RW page, we have then crashed when trying to initialize the precode stubs data. This change adds the check to fix the problem. This causes the LoaderHeap allocation to fail as expected in such case.
Showing
想要评论请 注册 或 登录