Commit 2286267a authored by Alexandre Julliard's avatar Alexandre Julliard

krnl386.exe: Ignore non-resident name table if value is invalid.

Watcom C++ apparently screws this up.
parent 009c59af
......@@ -728,7 +728,7 @@ static HMODULE16 build_module( const void *mapping, SIZE_T mapping_size, LPCSTR
if (!NE_READ_DATA( pModule, buffer, ne_header->ne_nrestab, ne_header->ne_cbnrestab ))
{
GlobalFree16( pModule->nrname_handle );
goto failed;
pModule->nrname_handle = 0;
}
}
else pModule->nrname_handle = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment