]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298670:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 May 2016 09:05:29 +0000 (09:05 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 May 2016 09:05:29 +0000 (09:05 +0000)
commita1ae3edfe64bd27519b009e04801cd3e32a3fd52
treeb733ea61274e1b76516dbe938af154b19fb2a922
parent502ec1959f774d5008d4f0a81ab252db635007f4
MFC r298670:
r298670 (by cem):

ciss(4): Fix overrun of array

The softc member 'ciss_logical' is an array of 'ciss_max_logical_bus' members.
Most of the time it is iterated correctly.  This patch fixes the two instances
where the driver iterated off the end of the array.

CID: 1305492

git-svn-id: svn://svn.freebsd.org/base/stable/10@299634 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ciss/ciss.c