LdrPEGetExportAddress(): Sanity KeBugCheck() to ensure we do not like Ordinals
authorshort <>
Thu, 30 Jan 2003 10:47:02 +0000 (10:47 +0000)
committershort <>
Thu, 30 Jan 2003 10:47:02 +0000 (10:47 +0000)
ntoskrnl/ldr/loader.c

index e1926b5..ff215f9 100644 (file)
@@ -1518,6 +1518,7 @@ LdrPEGetExportAddress(PMODULE_OBJECT ModuleObject,
         FunctionList[Hint - ExportDir->Base]);
 #else /* !LIBCAPTIVE */
       /* Ordinals not supported by libcaptive */
+      KeBugCheck(0);
 #endif /* !LIBCAPTIVE */
     }