VirtualBox

Ignore:
Timestamp:
Apr 29, 2010 6:13:54 PM (15 years ago)
Author:
vboxsync
Message:

Don't use RTStrCopyEx with RTSTR_MAX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/pathhost-generic.cpp

    r28915 r28916  
    7373    int rc = RTStrValidateEncodingEx(pszNativePath, RTSTR_MAX, 0 /*fFlags*/);
    7474    if (RT_SUCCESS(rc))
    75         rc = RTStrCopyEx(pszPath, cbPath, pszNativePath, RTSTR_MAX);
     75        rc = RTStrCopy(pszPath, cbPath, pszNativePath);
    7676    NOREF(pszBasePath); /* We don't query the FS for codeset preferences. */
    7777    return rc;
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