Change bIsFree check in DacValidateMethodTable (#1086)
authorDong-Heon Jung <dheon.jung@samsung.com>
Mon, 23 Dec 2019 19:11:43 +0000 (04:11 +0900)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Tue, 24 Dec 2019 09:22:19 +0000 (18:22 +0900)
commit218170021780204b29ccf95cd3282270facf129a
tree4d0a5d7224045905539a3506f13a7f9a7d000c09
parent7f2fb0ae16dee5971136006a4182c98fe04f3bff
Change bIsFree check in DacValidateMethodTable (#1086)

Some commands of SOS validate a method table in DacValidateMethodTable.
In the function, it checks whether a method table is FreeObjectMethodTable or not with GetClass() value.
However, GetClass() should not be NULL. (There is an assert in GetClass())
In this patch, it compares pMT address with g_pFreeObjectMethodTable address only.
src/debug/daccess/request.cpp