VirtualBox

Ignore:
Timestamp:
Dec 8, 2021 9:56:50 PM (3 years ago)
Author:
vboxsync
Message:

SUP: Made SUPR3IsDriverless return true if the support library hasn't been initialized. bugref:10138

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r92718 r92837  
    587587SUPR3DECL(bool) SUPR3IsDriverless(void)
    588588{
    589     Assert(g_cInits > 0);
    590     return g_supLibData.fDriverless;
     589    /* Assert(g_cInits > 0); - tstSSM does not initialize SUP, but SSM calls to
     590       check status, so return driverless if not initialized. */
     591    return g_supLibData.fDriverless || g_cInits == 0;
    591592}
    592593
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