Re: [PATCH v2] scsi: scsi_debug: fix type in min_t to avoid stack OOB

From: Martin K. Petersen
Date: Thu Nov 04 2021 - 23:33:27 EST



Hi George,

>> This needs to be reconciled with the following commits:
>>
>> f347c26836c2 scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()
>> 4e3ace0051e7 scsi: scsi_debug: Fix out-of-bound read in resp_readcap16()
>
> The proposed patch should supersede the above commits.

Those commits are already queued up for 5.16. I can't rebase the tree in
the middle of the merge window so your patch will have to be reworked to
apply on top.

Thanks!

--
Martin K. Petersen Oracle Linux Engineering