VirtualBox

Changeset 65583 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Feb 2, 2017 9:47:40 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113241
Message:

Installer/NetAdp (bugref:7973) Prevent helper crash on host-only creation failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp

    r65365 r65583  
    34373437            if (hrc == E_ABORT)
    34383438            {
    3439                 bstr_t bstrError = bstr_printf("Querying NetCfgInstanceId failed (0x%08X)", ERROR_FILE_NOT_FOUND);
    3440                 *pErrMsg = bstrError.Detach();
     3439                if (pErrMsg)
     3440                {
     3441                    bstr_t bstrError = bstr_printf("Querying NetCfgInstanceId failed (0x%08X)", ERROR_FILE_NOT_FOUND);
     3442                    *pErrMsg = bstrError.Detach();
     3443                }
    34413444                hrc = E_FAIL;
    34423445            }
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