Vtable [i] can be null so this should be check before use it. (mono/mono#16733)
authorThays Grazia <thaystg@gmail.com>
Mon, 9 Sep 2019 20:07:34 +0000 (17:07 -0300)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2019 20:07:34 +0000 (17:07 -0300)
commit5d0c136a225e15ed009cc81abe272b8acc2c65a1
treee1b084014b973ac4eefc2e75f77908eea23b6ca8
parent26a323b8f3c359fc9a4e1078f63d65431e13da58
Vtable [i] can be null so this should be check before use it. (mono/mono#16733)

Fixes mono/mono#16712

Commit migrated from https://github.com/mono/mono/commit/055818f3449b5176dcf0e4eb07491b2501112701
src/mono/mono/metadata/class-init.c