All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bjørn Mork" <bjorn@mork.no>
To: linux-scsi@vger.kernel.org
Cc: megaraidlinux@lsi.com,
	"James E.J. Bottomley" <James.Bottomley@suse.de>,
	Bo.Yang@lsi.com
Subject: Re: [PATCH] [SCSI] megaraid_sas: Sanity check user supplied length before passing it to dma_alloc_coherent()
Date: Tue, 18 Jan 2011 22:46:24 +0100	[thread overview]
Message-ID: <8739op51hr.fsf@nemi.mork.no> (raw)
In-Reply-To: 1291387026-23262-1-git-send-email-bjorn@mork.no

Bjørn Mork <bjorn@mork.no> writes:

> The ioc->sgl[i].iov_len value is supplied by the ioctl caller, and can be
> zero in some cases.  Assume that's valid and continue without error.
>
> Fixes (multiple individual reports of the same problem for quite a while):
>
> http://marc.info/?l=linux-ide&m=128941801715301
> http://bugs.debian.org/604627
> http://www.mail-archive.com/linux-poweredge@dell.com/msg02575.html

ping?

I don't know how to interpret the total silence...  NAKing it is better
if you don't like the code.


Bjørn

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-01-18 21:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 19:27 kernel problems with smart on LSI-92xx Bokhan Artem
2010-11-11 14:06 ` Bjørn Mork
2010-11-10 17:21   ` Bokhan Artem
2010-11-11 18:02     ` [PATCH] [SCSI] megaraid_sas: Sanity check user supplied length before passing it to dma_alloc_coherent() Bjørn Mork
2010-12-03 14:37       ` Bjørn Mork
2011-01-18 21:46         ` Bjørn Mork [this message]
     [not found]           ` <4B6A08C587958942AA3002690DD4F8C30106FA7846@cosmail02.lsi.com>
2011-01-19  6:33             ` Bjørn Mork
2011-01-19  8:12               ` FUJITA Tomonori
2011-01-19  8:56                 ` Bjørn Mork
2011-01-19  9:01                   ` [PATCH v3] " Bjørn Mork
2011-01-20  0:20               ` [PATCH] " Benz, Michael
2011-01-20  2:39                 ` FUJITA Tomonori
2010-11-26 15:42   ` kernel problems with smart on LSI-92xx Artem Bokhan
2010-11-29  7:09     ` Bjørn Mork
2010-11-29  9:49       ` Artem Bokhan

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=8739op51hr.fsf@nemi.mork.no \
    --to=bjorn@mork.no \
    --cc=Bo.Yang@lsi.com \
    --cc=James.Bottomley@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=megaraidlinux@lsi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.