VirtualBox

Changeset 7618 in vbox for trunk/src


Ignore:
Timestamp:
Mar 28, 2008 10:00:01 AM (17 years ago)
Author:
vboxsync
Message:

VMM/PATM: conditionally ifdef'ed out an assertion which I have been seeing for months now.

File:
1 edited

Legend:

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

    r6107 r7618  
    53825382    pPatch = &pPatchRec->patch;
    53835383    AssertReturn(pPatch->flags & (PATMFL_DUPLICATE_FUNCTION|PATMFL_IDTHANDLER|PATMFL_TRAPHANDLER), VERR_PATCHING_REFUSED);
     5384#ifndef DEBUG_michael  /* This has been triggering for months now */
    53845385    AssertReturn(!(pPatch->flags & PATMFL_EXTERNAL_JUMP_INSIDE), VERR_PATCHING_REFUSED);
     5386#else
     5387    if (pPatch->flags & PATMFL_EXTERNAL_JUMP_INSIDE)
     5388        return VERR_PATCHING_REFUSED;
     5389#endif
    53855390
    53865391    /** Note: quite ugly to enable/disable/remove/insert old and new patches, but there's no easy way around it. */
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