mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[SOFT386]
Fix limit check. svn path=/branches/ntvdm/; revision=60467
This commit is contained in:
parent
6bde6a89b7
commit
d4d6e6eca9
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ Soft386ReadMemory(PSOFT386_STATE State,
|
|||
/* Get the cached descriptor */
|
||||
CachedDescriptor = &State->SegmentRegs[SegmentReg];
|
||||
|
||||
if ((Offset + Size) >= CachedDescriptor->Limit)
|
||||
if ((Offset + Size) > CachedDescriptor->Limit)
|
||||
{
|
||||
/* Read beyond limit */
|
||||
Soft386Exception(State, SOFT386_EXCEPTION_GP);
|
||||
|
|
Loading…
Reference in a new issue