VirtualBox

Changeset 37625 in vbox for trunk


Ignore:
Timestamp:
Jun 24, 2011 11:51:52 AM (13 years ago)
Author:
vboxsync
Message:

Main/Medium: fix regression in previous change, VBoxSVC crashed for newly added media, when format autodetection is used

File:
1 edited

Legend:

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

    r37586 r37625  
    56845684
    56855685        // we must always have full paths now (if it refers to a file)
    5686         if (   (m->formatObj->getCapabilities() & MediumFormatCapabilities_File)
     5686        if (   (   m->formatObj.isNull()
     5687                || m->formatObj->getCapabilities() & MediumFormatCapabilities_File)
    56875688            && !RTPathStartsWithRoot(locationFull.c_str()))
    56885689            return setError(VBOX_E_FILE_ERROR,
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