VirtualBox

Ignore:
Timestamp:
Apr 11, 2013 9:32:24 AM (12 years ago)
Author:
vboxsync
Message:

emInterpretInstructionCPU: Fixed input validation test, was using AND instead of OR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r45430 r45479  
    36773677#endif
    36783678            if (    cpl != 0
    3679                 &&  pDis->pCurInstr->uOpcode != OP_RDTSC)    /* rdtsc requires emulation in ring 3 as well */
     3679                ||  pDis->pCurInstr->uOpcode != OP_RDTSC)    /* rdtsc requires emulation in ring 3 as well */
    36803680            {
    36813681                Log(("WARNING: refusing instruction emulation for user-mode code!!\n"));
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