VirtualBox

Changeset 56664 in vbox


Ignore:
Timestamp:
Jun 27, 2015 8:52:14 PM (9 years ago)
Author:
vboxsync
Message:

HMSVMR0.cpp: Fixed incorrect I/O instruction length check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r56663 r56664  
    48024802        {
    48034803            uint64_t cbInstr = pVmcb->ctrl.u64ExitInfo2 - pCtx->rip;
    4804             if (cbInstr <= 15 && cbInstr >= 2)
     4804            if (cbInstr <= 15 && cbInstr >= 1)
    48054805            {
     4806                Assert(cbInstr >= 1 + IoExitInfo.n.u1REP);
    48064807                if (IoExitInfo.n.u1Type == SVM_IOIO_WRITE)
    48074808                {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette