aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parser.c
diff options
context:
space:
mode:
authorChaitanya Kulkarni <kch@nvidia.com>2022-11-30 13:33:40 -0800
committerChristoph Hellwig <hch@lst.de>2022-12-06 09:27:24 +0100
commit6c90294d72a99e3ed51516124ba0984e28937d2d (patch)
tree2dcdb3f12cb90186e903d0c9938013bcd4b39161 /lib/parser.c
parentnvme: allow unprivileged passthrough of Identify Controller (diff)
downloadlinux-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