VirtualBox

Changeset 107555 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jan 9, 2025 8:42:38 AM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166628
Message:

Main/src-server/StorageControllerImpl.cpp: Missing error check, bugref:3409

File:
1 edited

Legend:

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

    r106061 r107555  
    329329        Machine::MediumAttachmentList atts;
    330330        hrc = m->pParent->i_getMediumAttachmentsOfController(m->bd->strName, atts);
     331        if (FAILED(hrc))
     332            return setError(hrc,
     333                            tr("Querying attachments of storage controller named '%s' failed"),
     334                            m->bd->strName.c_str());
     335
    331336        for (Machine::MediumAttachmentList::const_iterator
    332337             it = atts.begin();
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