Changeset 81212 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Oct 10, 2019 12:22:34 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 133874
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
r81154 r81212 501 501 for (uint32_t i = 0; i < srcRootListHdr.cRoots; i++) 502 502 { 503 rc = vbglR3ClipboardRootListEntryRead(pCtx, i, &pRootList->paEntries[i]); 503 SHCLROOTLISTENTRY *pEntry = &pRootList->paEntries[i]; 504 AssertPtr(pEntry); 505 506 rc = SharedClipboardTransferRootListEntryInit(pEntry); 507 if (RT_SUCCESS(rc)) 508 rc = vbglR3ClipboardRootListEntryRead(pCtx, i, pEntry); 509 504 510 if (RT_FAILURE(rc)) 505 511 break; … … 1266 1272 Msg.uHandle.SetUInt64(0); 1267 1273 Msg.cbPath.SetUInt32(pCreateParms->cbPath); 1268 Msg.szPath.SetPtr((void *)pCreateParms->pszPath, pCreateParms->cbPath + 1 /* Include terminating zero */);1274 Msg.szPath.SetPtr((void *)pCreateParms->pszPath, pCreateParms->cbPath); 1269 1275 Msg.fCreate.SetUInt32(pCreateParms->fCreate); 1270 1276 … … 1440 1446 Msg.uContext.SetUInt32(pCtx->uContextID); 1441 1447 Msg.uHandle.SetUInt64(hObj); 1448 Msg.cbData.SetUInt32(cbData); 1442 1449 Msg.pvData.SetPtr(pvData, cbData); 1443 Msg.cb Data.SetUInt32(cbData);1450 Msg.cbChecksum.SetUInt32(0); 1444 1451 Msg.pvChecksum.SetPtr(NULL, 0); 1445 Msg.cbChecksum.SetUInt32(0);1446 1452 1447 1453 int rc = VbglR3HGCMCall(&Msg.hdr, sizeof(Msg));
Note:
See TracChangeset
for help on using the changeset viewer.