VirtualBox

Changeset 71482 in vbox for trunk


Ignore:
Timestamp:
Mar 23, 2018 11:10:18 AM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Skip empty entries in GuestEnvironmentBase::applyPutEnvArray().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h

    r71406 r71482  
    199199        for (size_t i = 0; i < cArray; i++)
    200200        {
     201            if (rArray[i].isEmpty())
     202                continue;
     203
    201204            int rc = RTEnvPutEx(m_hEnv, rArray[i].c_str());
    202205            if (RT_FAILURE(rc))
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