summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorPrabhath Sajeepa <psajeepa@purestorage.com>2019-10-28 16:56:48 -0600
committerJens Axboe <axboe@kernel.dk>2019-11-04 10:56:42 -0700
commit64fab7290dc3561729bbc1e35895a517eb2e549e (patch)
tree5137177a5f13fea20d5a421883b728104e04f80e /drivers/md
parent716fd9c119a982c34af196fe9205d7a617f38e3e (diff)
nvme: Fix parsing of ANA log page
Check validity of offset into ANA log buffer before accessing nvme_ana_group_desc. This check ensures the size of ANA log buffer >= offset + sizeof(nvme_ana_group_desc) Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Prabhath Sajeepa <psajeepa@purestorage.com> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions