Make DacValidateMD and DacValidateMethodTable more resilient (#90797)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 18 Aug 2023 18:11:07 +0000 (11:11 -0700)
committerGitHub <noreply@github.com>
Fri, 18 Aug 2023 18:11:07 +0000 (11:11 -0700)
commit52f3d10d7938e8748a43b25f69a4e6795e72822c
treec254c0328db4578bfa03b6118171d887cd9d2593
parent149a289ddcdb0bb319e50ccf05010f02efc97049
Make DacValidateMD and DacValidateMethodTable more resilient (#90797)

Make both methods more resilient to the case of invalid MethodDesc
and MethodTable with value -1.

Close #90691

Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
src/coreclr/debug/daccess/request.cpp