RE: [patch] [SCSI] scsi_dh: potential null dereference in scsi_dh_activate()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Bottomley
Date: Tuesday, January 4, 2011 - 9:24 am

On Tue, 2011-01-04 at 09:13 -0700, Moger, Babu wrote:

It does?  The first check is the bogus one, surely.  The queue is
created and destroyed by scsi_alloc_sdev(), so queuedata can never be
NULL for a SCSI queue.  There's no check anywhere in the rest of SCSI,
so there shouldn't be one here, should there?

James


--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [patch] [SCSI] scsi_dh: potential null dereference in ..., James Bottomley, (Tue Jan 4, 9:24 am)