VirtualBox

Changeset 85374 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 17, 2020 3:44:59 PM (5 years ago)
Author:
vboxsync
Message:

IPRT/RTPathFindCommon: Added another check for the current path in array.

File:
1 edited

Legend:

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

    r85311 r85374  
    4949        {
    5050            const char *pcszPath = papcszPaths[i];
    51             if (   pcszPath[cch]
     51            if (   pcszPath
     52                && pcszPath[cch]
    5253                && pcszPath[cch] == pcszRef[cch])
    5354                continue;
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