diff options
author | 2019-12-10 15:01:29 +0800 | |
---|---|---|
committer | 2019-12-11 10:38:08 -0800 | |
commit | 3b7436cc9449d5ff7fa1c1fd5bc3edb6402ff5b8 (patch) | |
tree | 1c03c1bb7e5d3fed74e2655e572ec6dd00809563 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md: raid1: check rdev before reference in raid1_sync_request func (diff) | |
download | linux-dev-3b7436cc9449d5ff7fa1c1fd5bc3edb6402ff5b8.tar.xz linux-dev-3b7436cc9449d5ff7fa1c1fd5bc3edb6402ff5b8.zip |
md: make sure desc_nr less than MD_SB_DISKS
For super_90_load, we need to make sure 'desc_nr' less
than MD_SB_DISKS, avoiding invalid memory access of 'sb->disks'.
Fixes: 228fc7d76db6 ("md: avoid invalid memory access for array sb->dev_roles")
Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions