VirtualBox

Changeset 85169 in vbox


Ignore:
Timestamp:
Jul 10, 2020 10:33:31 AM (5 years ago)
Author:
vboxsync
Message:

VMM/tstCFGM: Allocate zeroed memory for the user mode VM structure, should fix some crashes seen on the testboxes when the unit tests were executed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstCFGM.cpp

    r82968 r85169  
    105105
    106106
    107     PUVM pUVM = (PUVM)RTMemPageAlloc(sizeof(*pUVM));
     107    PUVM pUVM = (PUVM)RTMemPageAllocZ(sizeof(*pUVM));
    108108    pUVM->u32Magic = UVM_MAGIC;
    109109    pUVM->pVM = pVM;
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