[lkml]   [2000]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectmousedev uses userspace pointers without copy_{to,from}_user

static ssize_t mousedev_write(struct file * file, const char * buffer, size_t count, loff_t *ppos)
struct mousedev_list *list = file->private_data;
unsigned char c;
int i;

for (i = 0; i < count; i++) {

c = buffer[i];

oops. Can we make this die horribly on x86, just for a few kernel releases?
Along with turning on spinlock debugging, which would have shown up the USB
audio problem months ago.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:43    [W:0.060 / U:8.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site