aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPrabhath Sajeepa <[email protected]>2019-10-28 16:56:48 -0600
committerJens Axboe <[email protected]>2019-11-04 10:56:42 -0700
commit64fab7290dc3561729bbc1e35895a517eb2e549e (patch)
tree5137177a5f13fea20d5a421883b728104e04f80e /lib/test_overflow.c
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 <[email protected]> Signed-off-by: Prabhath Sajeepa <[email protected]> Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions