Check for a null import descriptor when fixing up vtables. (#23825)
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Wed, 10 Apr 2019 19:54:27 +0000 (12:54 -0700)
committerGitHub <noreply@github.com>
Wed, 10 Apr 2019 19:54:27 +0000 (12:54 -0700)
commit38b7770574fdbdd93416053809fce039bc8d5d26
treee31abc7ff51a68e6271be6a5e67d2c61fc06eda0
parent6398853de7ed52ed378312073fe47f3af75cce0a
Check for a null import descriptor when fixing up vtables. (#23825)

A fragile ngened image doesn't have an import descriptor directory in its PE image. Without this check, we AV when loading a fragile ngened image.
src/vm/ceeload.cpp