krnl386.exe: Ignore non-resident name table if value is invalid.
Watcom C++ apparently screws this up.
This commit is contained in:
parent
009c59afb8
commit
2286267aad
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue