VirtualBox

Changeset 67937 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jul 12, 2017 3:09:46 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116929
Message:

CPUM: Quick fix for cleanup crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.h

    r67924 r67937  
    14161416#ifndef IN_RC
    14171417    PCSVMVMCBCTRL pVmcbCtrl = &pCtx->hwvirt.svm.CTX_SUFF(pVmcb)->ctrl;
    1418     return RT_BOOL(pVmcbCtrl->u64InterceptCtrl & SVM_CTRL_INTERCEPT_VMRUN);
     1418    return RT_BOOL(pVmcbCtrl && pVmcbCtrl->u64InterceptCtrl & SVM_CTRL_INTERCEPT_VMRUN);
    14191419#else
    14201420    RT_NOREF(pCtx);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette