[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1wp41edpx.fsf@oracle.com>
Date: Wed, 11 Oct 2017 14:33:46 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Johannes Thumshirn <jthumshirn@...e.de>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Linux Kernel Mailinglist <linux-kernel@...r.kernel.org>,
Linux SCSI Mailinglist <linux-scsi@...r.kernel.org>
Subject: Re: [PATCH v3] scsi: fc: check for rport presence in fc_block_scsi_eh
Johannes,
> Coverity-scan recently found a possible NULL pointer dereference in
> fc_block_scsi_eh() as starget_to_rport() either returns the rport for
> the startget or NULL.
>
> While it is rather unlikely to have fc_block_scsi_eh() called without
> an rport associated it's a good idea to catch potential misuses of the
> API gracefully.
Applied to 4.14/scsi-fixes. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists