Spdk/lib/virtio
GangCao b50af42b62 lib/virtio: return error if CMSG_FIRSTHDR returns NULL
Fix issue: potential NULL pointer dereference

Change-Id: I623096c49e7a75e66404666a2f502ba3209e3530
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14330
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2022-09-06 07:17:26 +00:00
..
Makefile lib/virtio: merge vhost_user.c and virtio_user.c into one source file 2022-08-04 11:24:40 +00:00
spdk_virtio.map virtio_blk: add hotplug support 2021-04-16 19:21:13 +00:00
virtio_pci.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
virtio_vhost_user.c lib/virtio: return error if CMSG_FIRSTHDR returns NULL 2022-09-06 07:17:26 +00:00
virtio.c module/bdev_virtio_scsi: use the correct num_queues value 2022-08-04 11:24:40 +00:00