VirtualBox

Changeset 66039 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
Mar 10, 2017 3:23:13 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113903
Message:

vbsfpath.cpp: no + 1 in previous fix. Triggers assertion on line 220 because it places pszSrc on terminator character rather than the last char.

File:
1 edited

Legend:

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

    r66033 r66039  
    626626                                const bool fWildCard = RT_BOOL(fu32Options & VBSF_O_PATH_WILDCARD);
    627627                                const bool fPreserveLastComponent = RT_BOOL(fu32Options & VBSF_O_PATH_PRESERVE_LAST_COMPONENT);
    628                                 rc = vbsfCorrectPathCasing(pClient, pszFullPath, strlen(pszFullPath) + 1,
     628                                rc = vbsfCorrectPathCasing(pClient, pszFullPath, strlen(pszFullPath),
    629629                                                           fWildCard, fPreserveLastComponent);
    630630                            }
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