- Timestamp:
- Dec 10, 2019 12:25:32 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r82534 r82535 203 203 if (RT_SUCCESS(rc)) 204 204 { 205 memcpy(pData->pvData, pPayload->pvData, RT_MIN(pData->cbData, pPayload->cbData)); 206 pData->cbData = pPayload->cbData; 207 208 Assert(pData->cbData == pPayload->cbData); /* Sanity. */ 205 memcpy(pData->pvData, pPayload->pvData, RT_MIN(pData->cbData, pPayload->cbData)); 206 pData->cbData = (uint32_t)pPayload->cbData; /** @todo r=bird: Just ditch this data block wrapper, it made you forget to set pcbActual! */ 207 *pcbActual = (uint32_t)pPayload->cbData; 209 208 } 210 209 }
Note:
See TracChangeset
for help on using the changeset viewer.