VirtualBox

Changeset 44404 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jan 27, 2013 11:22:15 PM (12 years ago)
Author:
vboxsync
Message:

DBGF: UVM and UVMCPU padding safety.

File:
1 edited

Legend:

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

    r44403 r44404  
    138138{
    139139    PUVM pUVM = pVM->pUVM;
     140    AssertCompile(sizeof(pUVM->dbgf.s)          <= sizeof(pUVM->dbgf.padding));
     141    AssertCompile(sizeof(pUVM->aCpus[0].dbgf.s) <= sizeof(pUVM->aCpus[0].dbgf.padding));
     142
    140143    int rc = dbgfR3InfoInit(pUVM);
    141144    if (RT_SUCCESS(rc))
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