Author: aandrejevic
Date: Sat Dec 14 02:30:42 2013
New Revision: 61269
URL:
http://svn.reactos.org/svn/reactos?rev=61269&view=rev
Log:
[FAST486]
The LDT can be loaded with a NULL descriptor. That invalidates the LDT but doesn't
cause
any exception.
Modified:
branches/ntvdm/lib/fast486/opgroups.c
Modified: branches/ntvdm/lib/fast486/opgroups.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/opgroups.c?re…
==============================================================================
--- branches/ntvdm/lib/fast486/opgroups.c [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/opgroups.c [iso-8859-1] Sat Dec 14 02:30:42 2013
@@ -1798,8 +1798,8 @@
if (GET_SEGMENT_INDEX(Selector) == 0)
{
- Fast486Exception(State, FAST486_EXCEPTION_GP);
- return FALSE;
+ RtlZeroMemory(&State->Ldtr, sizeof(State->Ldtr));
+ return TRUE;
}
if (!GdtEntry.Present)