Re: [PATCH 1/2] scsi: aacraid: bound the SRB sense data copy to the source buffer

From: Yehyeong Lee

Date: Tue Oct 13 2026 - 12:17:58 EST


This patch only bounds the sense-data copy; it does not touch
scsicmd->result or the srb_status switch. The result set in the
status != ST_OK block is in fact overwritten unconditionally by that
switch (every case assigns scsicmd->result with '='), so it is
pre-existing and independent of this length change; I have left it alone.
Resent as v2 (with the HBA patch dropped):
https://lore.kernel.org/linux-scsi/20261013150420.3168223-1-yhlee@xxxxxxxxxxxxxxxxxx/