Commit a018d1c
scsi: st: Fix array overflow in st_setup()
Change the array size to follow parms size instead of a fixed value.
Reported-by: Chenyuan Yang <chenyuan0y@gmail.com>
Closes: https://lore.kernel.org/linux-scsi/CALGdzuoubbra4xKOJcsyThdk5Y1BrAmZs==wbqjbkAgmKS39Aw@mail.gmail.com/
Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi>
Link: https://lore.kernel.org/r/20250311112516.5548-2-Kai.Makisara@kolumbus.fi
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 1909b64 commit a018d1c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4157 | 4157 | | |
4158 | 4158 | | |
4159 | 4159 | | |
4160 | | - | |
| 4160 | + | |
4161 | 4161 | | |
4162 | 4162 | | |
4163 | 4163 | | |
| |||
0 commit comments