VirtualBox

Ignore:
Timestamp:
Feb 9, 2021 12:20:04 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142693
Message:

Shared Clipboard/Transfers: Defined and use SHCL_TRANSFER_PATH_MAX. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp

    r87611 r87651  
    397397    RT_BZERO(pParms, sizeof(SHCLLISTOPENPARMS));
    398398
    399     pParms->cbFilter  = 64; /** @todo Make this dynamic. */
     399    pParms->cbFilter  = SHCL_TRANSFER_PATH_MAX; /** @todo Make this dynamic. */
    400400    pParms->pszFilter = RTStrAlloc(pParms->cbFilter);
    401401
    402     pParms->cbPath    = RTPATH_MAX;
     402    pParms->cbPath    = SHCL_TRANSFER_PATH_MAX; /** @todo Make this dynamic. */
    403403    pParms->pszPath   = RTStrAlloc(pParms->cbPath);
    404404
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