VirtualBox

Changeset 43470 in vbox


Ignore:
Timestamp:
Sep 28, 2012 6:00:07 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
81013
Message:

Main/Metrics: Fixed SEGFAULT on attempt to configure host interface (#6439)

File:
1 edited

Legend:

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

    r43453 r43470  
    28572857    /* At this point listCopy will contain newly discovered interfaces only. */
    28582858    for (itNew = listCopy.begin(); itNew != listCopy.end(); ++itNew)
    2859     {
     2859        (*itNew)->registerMetrics(aCollector, this);
     2860    /*
     2861     * Need to set the references to VirtualBox object in all interface objects
     2862     * (see @bugref{6439}).
     2863     */
     2864    for (itNew = list.begin(); itNew != list.end(); ++itNew)
    28602865        (*itNew)->setVirtualBox(m->pParent);
    2861         (*itNew)->registerMetrics(aCollector, this);
    2862     }
    28632866    m->llNetIfs = list;
    28642867    return S_OK;
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