VirtualBox

Changeset 72523 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 12, 2018 9:58:49 AM (7 years ago)
Author:
vboxsync
Message:

Main/Appliance: fix crash for importing non-vbox created appliances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r72511 r72523  
    201201            /* VM Primary Group */
    202202            Utf8Str strPrimaryGroup;
    203             if (pNewDesc->m->pConfig->machineUserData.llGroups.size())
     203            if (   vsysThis.pelmVBoxMachine
     204                && pNewDesc->m->pConfig->machineUserData.llGroups.size())
    204205                strPrimaryGroup = pNewDesc->m->pConfig->machineUserData.llGroups.front();
    205206            if (strPrimaryGroup.isEmpty())
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