Re: [PATCH] scsi_debug: parser tables and code interaction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 12 May 2020 21:39:43 -0400, Douglas Gilbert wrote:

> This patch is in response to a static analyser report from Dan Carpenter
> titled: "[bug report] scsi: scsi_debug: Add per_host_store option".
> This code may not clear the static analyzer reports, but may shed light
> on why they occur. Amongst other things this driver has a table driven
> SCSI command parser which also involves some C code. There are some
> invariants between the table entries and the corresponding C code (i.e.
> the resp_*() functions) that, if broken, may lead to a NULL dereference.
> And the report is valid, at least in the case of the PRE-FETCH command.
> Alas, that is not one of the cases that the static analyzer reported.
> 
> [...]

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: scsi_debug: Parser tables and code interaction
      https://git.kernel.org/mkp/scsi/c/b6ff8ca73350

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux