Changeset 16062 in vbox
- Timestamp:
- Jan 19, 2009 8:43:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/vboxmod.c
r15987 r16062 415 415 int rc = 0; 416 416 AssertPtrReturn(pBuf, -EINVAL); 417 if (copy_to_user(pBuf->pUser, pBuf->pKernel, pBuf->cb) != 0) 417 if (copy_to_user(pBuf->pUser, pBuf->pKernel, pBuf->cb) != 0) /** @todo r=bird: This isn't entirely correct for LinAddr_In buffers. */ 418 418 rc = -EFAULT; 419 419 kfree(pBuf->pKernel); /* We want to do this whatever the outcome. */
Note:
See TracChangeset
for help on using the changeset viewer.