mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: viro@parcelfarce.linux.theplanet.co.uk
To: "Robert T. Johnson" <rtjohnso@eecs.berkeley.edu>
Cc: linux-megaraid-devel@dell.com,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: PATCH: 2.6.7-rc3 drivers/scsi/megaraid.c: user/kernel pointer bugs
Date: Thu, 10 Jun 2004 02:52:13 +0100	[thread overview]
Message-ID: <20040610015213.GB12308@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1086822637.32059.140.camel@dooby.cs.berkeley.edu>

On Wed, Jun 09, 2004 at 04:10:32PM -0700, Robert T. Johnson wrote:
> Since arg is a user pointer, so are uioc_mimd and uiocp, and hence umc is 
> a user pointer.  Thus reading umc->xferaddr requires dereferencing a user 
> pointer, which isn't safe.  Let me know if you have any questions or I've
> made an error.

ACK.

      reply	other threads:[~2004-06-10  1:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09 23:10 Robert T. Johnson
2004-06-10  1:52 ` viro [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=20040610015213.GB12308@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-megaraid-devel@dell.com \
    --cc=rtjohnso@eecs.berkeley.edu \
    /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

all inboxes | Powered by JetHome®