53c8xx: Fix array bounds for a setparam call.
_syncmsg is only 2 elements in size. Signed-off-by: Augustin Cavalier <[email protected]> Fixes #11288.
This commit is contained in:
committed by
Augustin Cavalier
parent
04756e005c
commit
1a5860e2d2
@@ -464,8 +464,8 @@ scsi_int_dispatch(void *data)
|
|||||||
|
|
||||||
case status_syncin:
|
case status_syncin:
|
||||||
setparams(s->active,
|
setparams(s->active,
|
||||||
s->active->priv->_syncmsg[1]*4,
|
s->active->priv->_syncmsg[0]*4,
|
||||||
s->active->priv->_syncmsg[2],
|
s->active->priv->_syncmsg[1],
|
||||||
s->active->wide);
|
s->active->wide);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user