Spdk/lib/vhost
Pawel Niedzwiecki 97e82c0c06 vhost_scsi: validate length of virtio descriptors
Casting pointers without checking their length could
potentially lead to a crash

Change-Id: I7c61e5818ecfbf32bb363858965503341353c51e
Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com>
Reviewed-on: https://review.gerrithub.io/382420
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-10-23 11:53:55 -04:00
..
rte_vhost rte_vhost: fix numa_realloc() copy size 2017-09-07 18:02:09 -04:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
test_plan.md test/vhost: add vhost with lvol backends test 2017-09-20 12:53:28 -04:00
vhost_blk.c vhost: replaced tasks ring with dynamic array 2017-10-17 13:37:56 -04:00
vhost_internal.h vhost_scsi: validate length of virtio descriptors 2017-10-23 11:53:55 -04:00
vhost_rpc.c vhost/rpc: replace strerror with spdk_strerror_r 2017-10-06 17:47:42 -04:00
vhost_scsi.c vhost_scsi: validate length of virtio descriptors 2017-10-23 11:53:55 -04:00
vhost.c vhost_scsi: validate length of virtio descriptors 2017-10-23 11:53:55 -04:00