vhost: fix possible out of bound access
authorFerruh Yigit <ferruh.yigit@intel.com>
Sun, 28 Oct 2018 01:08:46 +0000 (01:08 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Nov 2018 00:14:23 +0000 (01:14 +0100)
commit7b178300accc661b7bbd47da93380106378dba1c
tree5fbbb903774e6b8e1c63fb82d255b9940be85b46
parentc8b506e4b661c23264debc66f52c7270f903a00e
vhost: fix possible out of bound access

Fixes: d7280c9fffcb ("vhost: support selective datapath")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/vdpa.c