|
From: Anders J. <and...@us...> - 2002-01-15 11:01:57
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bluetooth.c 1.217 1.218=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* Don't use the len variable in the BNEPTEST ioctl.
The diff of the modified file(s):
--- bluetooth.c 2002/01/06 19:49:40 1.217
+++ bluetooth.c 2002/01/15 11:01:56 1.218
@@ -1196,7 +1196,7 @@
case BNEPTEST:
{
s8 temp[5];
- copy_from_user(&temp, (s32*)arg, size);
+ copy_from_user(&temp, (s32*)arg, 5);
printk("BNEP TEST %i\n", temp[0]);=20=20=20
return bnep_test(&temp[0]);
}
|