Changeset 6279 in vbox for trunk/src/VBox/Additions/linux/module
- Timestamp:
- Jan 8, 2008 2:16:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/vboxmod.c
r6278 r6279 316 316 * 317 317 */ 318 AssertCompile((sizeof(VMMDevRequestHeader) == _IOC_SIZE(IOCTL_VBOXGUEST_VMMREQUEST)));319 320 318 static int vboxadd_ioctl(struct inode *inode, struct file *filp, 321 319 unsigned int cmd, unsigned long arg) … … 353 351 int rc; 354 352 355 if (copy_from_user(&reqHeader, (void*)arg, _IOC_SIZE(cmd)))353 if (copy_from_user(&reqHeader, (void*)arg, sizeof(reqHeader))) 356 354 { 357 355 LogRelFunc(("IOCTL_VBOXGUEST_VMMREQUEST: copy_from_user failed for vmm request!\n"));
Note:
See TracChangeset
for help on using the changeset viewer.