diff options
author | 2022-11-30 13:33:40 -0800 | |
---|---|---|
committer | 2022-12-06 09:27:24 +0100 | |
commit | 6c90294d72a99e3ed51516124ba0984e28937d2d (patch) | |
tree | 2dcdb3f12cb90186e903d0c9938013bcd4b39161 /lib/parser.c | |
parent | nvme: allow unprivileged passthrough of Identify Controller (diff) | |
download | linux-rng-6c90294d72a99e3ed51516124ba0984e28937d2d.tar.xz linux-rng-6c90294d72a99e3ed51516124ba0984e28937d2d.zip |
nvme-fc: avoid null pointer dereference
Before using dynamically allcoated variable lsop in the
nvme_fc_rcv_ls_req(), add a check for NULL and error out early.
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions