VirtualBox

Changeset 101361 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 5, 2023 3:34:29 PM (14 months ago)
Author:
vboxsync
Message:

Linux: VBoxNetFlt: Replace memcpy with RT_BCOPY_UNFORTIFIED, bugref:10209, ticketref:21862.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFlt.c

    r98103 r101361  
    10411041    pNew->cBusy                         = 0;
    10421042    pNew->hEventIdle                    = NIL_RTSEMEVENT;
    1043     memcpy(pNew->szName, pszName, cchName + 1);
     1043    RT_BCOPY_UNFORTIFIED(pNew->szName, pszName, cchName + 1);
    10441044
    10451045    rc = RTSpinlockCreate(&pNew->hSpinlock, RTSPINLOCK_FLAGS_INTERRUPT_SAFE, "VBoxNetFltNewInstance");
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