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/winexepe2lx.cpp

    r21916 r22010  
    128128    Win32Pe2LxImage(hinstance, fWin32k)
    129129{
     130    //Signal to TEB management that we're an ummodified Win32 app and
     131    //require setting FS to our special win32 selector
     132    fSwitchTIBSel = TRUE;
    130133}
    131134
Note: See TracChangeset for help on using the changeset viewer.