From: short <> Date: Thu, 30 Jan 2003 10:47:02 +0000 (+0000) Subject: LdrPEGetExportAddress(): Sanity KeBugCheck() to ensure we do not like Ordinals X-Git-Tag: captive-0_2~84 X-Git-Url: https://git.jankratochvil.net/?a=commitdiff_plain;h=e02da5b3854e4a4d070eea8e8c874bac56c348ee;p=reactos.git LdrPEGetExportAddress(): Sanity KeBugCheck() to ensure we do not like Ordinals --- diff --git a/ntoskrnl/ldr/loader.c b/ntoskrnl/ldr/loader.c index e1926b5..ff215f9 100644 --- a/ntoskrnl/ldr/loader.c +++ b/ntoskrnl/ldr/loader.c @@ -1518,6 +1518,7 @@ LdrPEGetExportAddress(PMODULE_OBJECT ModuleObject, FunctionList[Hint - ExportDir->Base]); #else /* !LIBCAPTIVE */ /* Ordinals not supported by libcaptive */ + KeBugCheck(0); #endif /* !LIBCAPTIVE */ }