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