VirtualBox

Changeset 59336 in vbox


Ignore:
Timestamp:
Jan 14, 2016 11:29:52 AM (9 years ago)
Author:
vboxsync
Message:

ExtPackManagerImpl.cpp: Refuse to load extpacks older than 4.3.16 because of accidental USB incompatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp

    r59319 r59336  
    12781278                                 m->Desc.strName.c_str(), strSavedName.c_str());
    12791279        m->Desc.strName = strSavedName;
     1280        return;
     1281    }
     1282
     1283    /*
     1284     * Check for possibly incompatible extpack versions.
     1285     *
     1286     * In 4.3.16 (actually r95499) the VUSBIROOTHUBCONNECTOR interface changed without
     1287     * also changing the UUID, with the result that our EHCI device could crash the
     1288     * host process.  Since this was from before VBOXEXTPACKREG::uVBoxFullVersion was
     1289     * added, the check isn't all that generic.
     1290     */
     1291    if (   m->Desc.strName.equals("Oracle VM VirtualBox Extension Pack")
     1292        && RTStrVersionCompare(m->Desc.strVersion.c_str(), "4.3.16") < 0)
     1293    {
     1294        m->strWhyUnusable.printf(tr("Incompatible extension pack (version '%s'), please update"), m->Desc.strVersion.c_str());
    12801295        return;
    12811296    }
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