- Fix a typo causing a potentially fatal bug in user-mode exceptions. Might fix hpoussin's bub. Modified: trunk/reactos/lib/ntdll/main/i386/dispatch.S _____
Modified: trunk/reactos/lib/ntdll/main/i386/dispatch.S --- trunk/reactos/lib/ntdll/main/i386/dispatch.S 2005-11-27 02:55:13 UTC (rev 19666) +++ trunk/reactos/lib/ntdll/main/i386/dispatch.S 2005-11-27 03:07:22 UTC (rev 19667) @@ -116,7 +116,7 @@
sub esp, SIZEOF_EXCEPTION_RECORD
/* Fill out the record */ - mov eax, [fs:TEB_SELECTOR] + mov eax, [fs:KPCR_TEB] mov eax, [eax+TEB_EXCEPTION_CODE] mov [esp+EXCEPTION_RECORD_EXCEPTION_CODE], eax mov dword ptr [esp+EXCEPTION_RECORD_EXCEPTION_FLAGS], 0