patch-2.1.15 linux/drivers/cdrom/cdu31a.c
Next file: linux/drivers/char/ChangeLog
Previous file: linux/drivers/block/ps2esdi.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Dec 11 16:05:16 1996
- Orig file:
v2.1.14/linux/drivers/cdrom/cdu31a.c
- Orig date:
Tue Oct 29 19:58:04 1996
diff -u --recursive --new-file v2.1.14/linux/drivers/cdrom/cdu31a.c linux/drivers/cdrom/cdu31a.c
@@ -1979,8 +1979,7 @@
return -EIO;
}
- err = verify_area(VERIFY_READ, (char *) arg, sizeof(schi)) ||
- verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi));
+ err = verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi));
if (err) return err;
copy_from_user(&schi, (char *) arg, sizeof(schi));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov