summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorzhangyue <zhangyue1@kylinos.cn>2021-12-08 17:53:41 +0800
committerKalle Valo <kvalo@kernel.org>2021-12-15 16:28:26 +0200
commit4d375c2e51d5b3227683e3a9a198a2f003959c76 (patch)
tree3cca515ec517b75fbc94ca2822effd07d966971f /drivers/ata/pata_legacy.c
parent09ed8bfc5215ad5aac91c50008277b5586b9ef24 (diff)
downloadlinux-4d375c2e51d5b3227683e3a9a198a2f003959c76.tar.bz2
rsi: fix array out of bound
Limit the max of 'ii'. If 'ii' greater than or equal to 'RSI_MAX_VIFS', the array 'adapter->vifs' may be out of bound Signed-off-by: zhangyue <zhangyue1@kylinos.cn> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20211208095341.47777-1-zhangyue1@kylinos.cn
Diffstat (limited to 'drivers/ata/pata_legacy.c')
0 files changed, 0 insertions, 0 deletions