[RTL][KERNEL32] Add a comment indicating we need SEH in RtlImageNtHeaderEx

CORE-14532
CORE-14857
This commit is contained in:
Mark Jansen 2018-07-29 19:45:13 +02:00
parent ad08c6631b
commit 9b6fb9f2f8
No known key found for this signature in database
GPG Key ID: B39240EE84BEAE8B
3 changed files with 3 additions and 1 deletions

View File

@ -463,6 +463,7 @@ FreeLibrary(HINSTANCE hLibModule)
if (LDR_IS_DATAFILE(hLibModule))
{
// FIXME: This SEH should go inside RtlImageNtHeader instead
// See https://jira.reactos.org/browse/CORE-14857
_SEH2_TRY
{
/* This is a LOAD_LIBRARY_AS_DATAFILE module, check if it's a valid one */

View File

@ -72,7 +72,7 @@ BOOL WINAPI notify_DllMain(IN HINSTANCE hDllHandle, IN DWORD dwReason, IN LPVOID
}
else
{
ok_int(handlers, g_DLL_DETACH);
ok_int(handlers, g_DLL_DETACH); // For failures, see https://jira.reactos.org/browse/CORE-14857
}
if (InterlockedCompareExchange(&g_DllMainExcept, 0xffffff, dwReason) == dwReason)

View File

@ -134,6 +134,7 @@ LdrVerifyMappedImageMatchesChecksum(
/*
* @implemented
* @note This needs SEH (See https://jira.reactos.org/browse/CORE-14857)
*/
NTSTATUS
NTAPI