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:
Lioncash 2014-09-26 15:59:40 -04:00 committed by Augustin Cavalier
parent 04756e005c
commit 1a5860e2d2

View File

@ -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;