VirtualBox

Changeset 104258 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 9, 2024 7:37:51 PM (10 months ago)
Author:
vboxsync
Message:

RTPathGlob: Give up properly after 10th try to get the env variable. Can't happen in reality because the env variable length is constant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp

    r98103 r104258  
    496496            RTMemTmpFree(pszPathFree);
    497497            AssertReturn(cchActual >= cbPathBuf, VERR_INTERNAL_ERROR_3);
     498            if (RT_FAILURE(rc) && iTry == 9)
     499                return rc;
    498500        }
    499501        pszPath = pszPathFree;
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