- Fix a typo causing a potentially fatal bug in user-mode exceptions. Might fix hpous...
authorAlex Ionescu <aionescu@gmail.com>
Sun, 27 Nov 2005 03:07:22 +0000 (03:07 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sun, 27 Nov 2005 03:07:22 +0000 (03:07 +0000)
svn path=/trunk/; revision=19667

reactos/lib/ntdll/main/i386/dispatch.S

index ee46d0d..ab51235 100644 (file)
@@ -116,7 +116,7 @@ _KiRaiseUserExceptionDispatcher@0:
     sub esp, SIZEOF_EXCEPTION_RECORD\r
 \r
     /* Fill out the record */\r
-    mov eax, [fs:TEB_SELECTOR]\r
+    mov eax, [fs:KPCR_TEB]\r
     mov eax, [eax+TEB_EXCEPTION_CODE]\r
     mov [esp+EXCEPTION_RECORD_EXCEPTION_CODE], eax\r
     mov dword ptr [esp+EXCEPTION_RECORD_EXCEPTION_FLAGS], 0\r