VirtualBox

Changeset 93088 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Dec 27, 2021 10:54:43 AM (3 years ago)
Author:
vboxsync
Message:

VMM: Some additional checks, bugref:3409

File:
1 edited

Legend:

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

    r92493 r93088  
    17971797         */
    17981798        case VMMR0_DO_VMMR0_INIT_EMT:
     1799            if (idCpu == NIL_VMCPUID)
     1800                return VERR_INVALID_CPU_ID;
    17991801            rc = vmmR0InitVMEmt(pGVM, idCpu);
    18001802            break;
     
    18251827            if (idCpu != NIL_VMCPUID)
    18261828                return VERR_INVALID_CPU_ID;
    1827             if (pReqHdr == NULL)
     1829            if (pReqHdr == NULL && pGVM != NULL)
    18281830                rc = vmmR0LogFlusher(pGVM);
    18291831            else
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