linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Jörn Engel" <joern@logfs.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] scsi_lib: add NULL check to scsi_setup_blk_pc_cmnd
Date: Mon, 23 Jul 2012 23:45:55 +0400	[thread overview]
Message-ID: <1343072755.5865.1.camel@dabdike> (raw)
In-Reply-To: <20120723173220.GA17767@logfs.org>

On Mon, 2012-07-23 at 13:32 -0400, Jörn Engel wrote:
> At least two slightly different paths can lead to a NULL pointer
> dereference in scsi_prep_state_check and have been hit in practice.

Have you checked this with the patches in scsi-misc?  There's a series
of patches in there that alters the way sdev handling is done.

James




--
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:[~2012-07-23 19:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23 17:32 [PATCH] scsi_lib: add NULL check to scsi_setup_blk_pc_cmnd Jörn Engel
2012-07-23 19:45 ` James Bottomley [this message]
2012-07-23 19:24   ` Jörn Engel
2012-07-24  5:01     ` James Bottomley
2012-07-25 19:13       ` Jörn Engel

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=1343072755.5865.1.camel@dabdike \
    --to=james.bottomley@hansenpartnership.com \
    --cc=joern@logfs.org \
    --cc=linux-scsi@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;
as well as URLs for NNTP newsgroup(s).