Ignore:
Timestamp:
Aug 6, 2012, 2:01:29 AM (13 years ago)
Author:
dmik
Message:

kernel32: Disable Win32 TIB switch completely by default.

Previously, It was ON until the EXE type had been identified (e.g. when
loading KERNEL32.DLL and the DLLs it drags in). This could make
some apps spin in an exception handler loop (like OpenOffice
trying to load JVM.DLL).

This closes #83.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winexepeldr.cpp

    r21916 r22010  
    168168                   Win32PeLdrImage(szFileName, TRUE)
    169169{
     170    //Signal to TEB management that we're an ummodified Win32 app and
     171    //require setting FS to our special win32 selector
     172    fSwitchTIBSel = TRUE;
     173
    170174    dprintf(("Win32PeLdrExe ctor: %s", szFileName));
    171175    this->fConsoleApp = fConsoleApp;
Note: See TracChangeset for help on using the changeset viewer.