Handle AV caused by invalid IBC data (dotnet/coreclr#27029)
authorFadi Hanna <fadim@microsoft.com>
Fri, 4 Oct 2019 16:03:03 +0000 (09:03 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Oct 2019 16:03:03 +0000 (09:03 -0700)
commitc6d3c0d2738f5a4c3fe627f20aa72d1a682ae848
tree69aec639e157501ef051364d078a1ff4dc3b6921
parent32806767e75d4d328050caea6e8fd637947298ab
Handle AV caused by invalid IBC data (dotnet/coreclr#27029)

Make FindOrCreateAssociatedMethodDesc throw a type load exception instead of an AV, which can't be handled by EX_TRY/EX_CATCH on Unix systems.

Commit migrated from https://github.com/dotnet/coreclr/commit/187071c4c5cd258f922d67a19fb03a6980491b38
src/coreclr/src/vm/genmeth.cpp