From: Vojtech Pavlik <vojtech@suse.cz>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mousedev uses userspace pointers without copy_{to,from}_user
Date: Wed, 1 Nov 2000 13:58:58 +0100 [thread overview]
Message-ID: <20001101135858.B583@suse.cz> (raw)
In-Reply-To: <20001026235728.A6232@suse.cz> <18835.972652671@redhat.com>
In-Reply-To: <18835.972652671@redhat.com>; from dwmw2@infradead.org on Fri, Oct 27, 2000 at 02:17:51PM +0100
On Fri, Oct 27, 2000 at 02:17:51PM +0100, David Woodhouse wrote:
>
>
> 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.
Ok, fixed in the CVS, a patch for the kernel to follow soon.
--
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2000-11-01 13:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-26 21:57 [patch] Fixes for the input (joystick, USB) drivers Vojtech Pavlik
2000-10-27 13:17 ` mousedev uses userspace pointers without copy_{to,from}_user David Woodhouse
2000-11-01 12:58 ` Vojtech Pavlik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001101135858.B583@suse.cz \
--to=vojtech@suse.cz \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox