VirtualBox

Changeset 84850 in vbox


Ignore:
Timestamp:
Jun 16, 2020 3:32:33 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138666
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

    r84848 r84850  
    13261326                LogRel(("VbglR3GuestCtrlProcGetStart: 2 - %Rrc (retry %u, cbCmd=%RU32, cbArgs=%RU32, cbEnv=%RU32)\n",
    13271327                        rc, cRetries, pStartupInfo->cbCmd, pStartupInfo->cbArgs, pStartupInfo->cbEnv));
    1328                 LogRel(("g_fVbglR3GuestCtrlHavePeekGetCancel=%d\n", g_fVbglR3GuestCtrlHavePeekGetCancel));
    1329 
    1330                 /* Only try another round if we can peek for the next bigger size; otherwise bail out on the bottom. */
    1331                 if (RT_BOOL(g_fVbglR3GuestCtrlHavePeekGetCancel))
    1332                     continue;
     1328                LogRel(("g_fVbglR3GuestCtrlHavePeekGetCancel=%RTbool\n", RT_BOOL(g_fVbglR3GuestCtrlHavePeekGetCancel)));
    13331329            }
    13341330            else
     
    13511347            }
    13521348        }
    1353     } while (rc == VERR_INTERRUPTED && g_fVbglR3GuestCtrlHavePeekGetCancel);
     1349    } while ((   rc == VERR_INTERRUPTED
     1350              || rc == VERR_BUFFER_OVERFLOW) && g_fVbglR3GuestCtrlHavePeekGetCancel);
    13541351
    13551352    if (RT_SUCCESS(rc))
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