VirtualBox

Ignore:
Timestamp:
Mar 10, 2017 1:18:24 PM (8 years ago)
Author:
vboxsync
Message:

SharedFolders: fixed regression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/vbsfpath.cpp

    r65993 r66033  
    595595                if (RT_SUCCESS(rc))
    596596                {
    597                     const size_t cbFullPathLength = pchDst - &pszFullPath[0]; /* As strlen(pszFullPath). */
    598597                    *pchDst++ = 0;
    599598
     
    627626                                const bool fWildCard = RT_BOOL(fu32Options & VBSF_O_PATH_WILDCARD);
    628627                                const bool fPreserveLastComponent = RT_BOOL(fu32Options & VBSF_O_PATH_PRESERVE_LAST_COMPONENT);
    629                                 rc = vbsfCorrectPathCasing(pClient, pszFullPath, cbFullPathLength,
     628                                rc = vbsfCorrectPathCasing(pClient, pszFullPath, strlen(pszFullPath) + 1,
    630629                                                           fWildCard, fPreserveLastComponent);
    631630                            }
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