commit | 64fab7290dc3561729bbc1e35895a517eb2e549e | [log] [tgz] |
---|---|---|
author | Prabhath Sajeepa <psajeepa@purestorage.com> | Mon Oct 28 16:56:48 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 04 10:56:42 2019 -0700 |
tree | 5137177a5f13fea20d5a421883b728104e04f80e | |
parent | 716fd9c119a982c34af196fe9205d7a617f38e3e [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>