[dpdk-dev] [PATCH 1/1] vhost: fix null pointer dereference

Yuanhan Liu yuanhan.liu at linux.intel.com
Wed Jun 15 11:01:17 CEST 2016


On Wed, Jun 15, 2016 at 11:47:22AM +0200, Marcin Kerlin wrote:
> Return value of function get_device() is not checking before
> dereference. Fix this problem by adding checking condition.
> 
> Coverity issue: 119262
> Fixes: 77d20126b4c2 ("vhost-user: handle message to enable vring")
> 
> Signed-off-by: Marcin Kerlin <marcinx.kerlin at intel.com>

Applied to dpdk-next-virtio.

Thanks.

	--yliu


More information about the dev mailing list