- Fix a typo causing a potentially fatal bug in user-mode exceptions. Might fix hpoussin's bub.

svn path=/trunk/; revision=19667
This commit is contained in:
Alex Ionescu 2005-11-27 03:07:22 +00:00
parent 54f50543c1
commit 344d90ee35

View file

@ -116,7 +116,7 @@ _KiRaiseUserExceptionDispatcher@0:
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