VirtualBox

Changeset 5261 in vbox for trunk/src/VBox/VMM/PATM/VMMGC


Ignore:
Timestamp:
Oct 12, 2007 2:14:27 PM (17 years ago)
Author:
vboxsync
Message:

Wrong boundary check causes us to miss certain instruction updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/VMMGC/PATMGC.cpp

    r4787 r5261  
    8383
    8484    /* Quick boundary check */
    85     if (    GCPtr < pVM->patm.s.pPatchedInstrGCLowest
    86         ||  GCPtr > pVM->patm.s.pPatchedInstrGCHighest
     85    if (    PAGE_ADDRESS(GCPtr) < PAGE_ADDRESS(pVM->patm.s.pPatchedInstrGCLowest)
     86        ||  PAGE_ADDRESS(GCPtr) > PAGE_ADDRESS(pVM->patm.s.pPatchedInstrGCHighest)
    8787       )
    8888       return VERR_PATCH_NOT_FOUND;
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