VirtualBox

Changeset 101360 in vbox for trunk/include


Ignore:
Timestamp:
Oct 5, 2023 3:27:58 PM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159363
Message:

Additions: Linux: vboxsf: Replace memcpy with RT_BCOPY_UNFORTIFIED, bugref:10209.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxGuestLibSharedFoldersInline.h

    r98103 r101360  
    15051505            pReq->StrPath.u16Length = (uint16_t)cchPath;
    15061506            pReq->StrPath.u16Size   = (uint16_t)cchPath + 1;
    1507             memcpy(pReq->StrPath.String.ach, pszPath, cchPath);
     1507            RT_BCOPY_UNFORTIFIED(pReq->StrPath.String.ach, pszPath, cchPath);
    15081508            pReq->StrPath.String.ach[cchPath] = '\0';
    15091509
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