VirtualBox

Changeset 93031 in vbox


Ignore:
Timestamp:
Dec 20, 2021 10:47:12 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149030
Message:

include/VBox/sup.h: Don't crash in SUPReadTsc() when the GIP is not available (driverless mode), bugref:10138

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r92709 r93031  
    780780{
    781781    PSUPGLOBALINFOPAGE pGip = g_pSUPGlobalInfoPage;
    782     if (pGip->enmUseTscDelta <= SUPGIPUSETSCDELTA_ROUGHLY_ZERO)
     782    if (!pGip || pGip->enmUseTscDelta <= SUPGIPUSETSCDELTA_ROUGHLY_ZERO)
    783783        return ASMReadTSC();
    784784    return SUPReadTscWithDelta(pGip);
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