VirtualBox

Changeset 84822 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jun 14, 2020 7:33:20 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138628
Message:

Guest Control/VbglR3: Tried fixing bailing out from starting guest processes with too long environment blocks / arguments / command lines. bugref:9320

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp

    r84812 r84822  
    12891289        pStartupInfo->cb##a_Str  = RT_MAX(pStartupInfo->cb##a_Str * cGrowthFactor, a_cbMax);
    12901290
     1291                /* We can't tell which parameter doesn't fit, so we have to resize all. */
    12911292                GROW_STR(Cmd , GUESTPROCESS_MAX_CMD_LEN);
    12921293                GROW_STR(Args, GUESTPROCESS_MAX_ARGS_LEN);
     
    12941295
    12951296#undef GROW_STR
     1297                LogRel2(("VbglR3GuestCtrlProcGetStart: %Rrc (retry %u, cbCmd=%RU32, cbArgs=%RU32, cbEnv=%RU32)\n",
     1298                         rc, cRetries, pStartupInfo->cbCmd, pStartupInfo->cbArgs, pStartupInfo->cbEnv));
     1299
     1300                /* Only try another round if we can peek for the next bigger size; otherwise bail out on the bottom. */
     1301                if (g_fVbglR3GuestCtrlHavePeekGetCancel)
     1302                    continue;
    12961303            }
    12971304            else
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