Fix memory corruption in the cache cast wrappers.
* marshal.c (mono_marshal_get_castclass_with_cache): Use the right parameter for the cache. * marshal.c (mono_marshal_get_isinst_with_cache): Use the right parameter for the cache. In the negative case store the obj_vtable and not the cache address.
Showing
想要评论请 注册 或 登录