VirtualBox

Changeset 49812 in vbox for trunk/src


Ignore:
Timestamp:
Dec 6, 2013 1:39:23 PM (11 years ago)
Author:
vboxsync
Message:

VMM: fixed assertion in PDMDevHelpMMIO2Deregister()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r46788 r49812  
    452452             pDevIns->pReg->szName, pDevIns->iInstance, iRegion));
    453453
    454     AssertReturn(iRegion == UINT32_MAX, VERR_INVALID_PARAMETER);
     454    AssertReturn(iRegion <= UINT8_MAX || iRegion == UINT32_MAX, VERR_INVALID_PARAMETER);
    455455
    456456    int rc = PGMR3PhysMMIO2Deregister(pDevIns->Internal.s.pVMR3, pDevIns, iRegion);
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