vhost: fix out-of-bounds read
authorHuawei Xie <huawei.xie@intel.com>
Thu, 10 Dec 2015 17:57:16 +0000 (01:57 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Dec 2015 01:11:19 +0000 (02:11 +0100)
commit36b2449d86601d828883a23addad0dbb4cbd6630
treec8b41b404ca7a7cd201c89dab9e09f3978a6ef3c
parentdfa1cb3ab83e2ad55df4c1051c11e2636f0f1b46
vhost: fix out-of-bounds read

CID 107126 (#1 OF 1): Out-of-bounds read
Fixes: 8f972312b8f4 ("vhost: support vhost-user")

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_vhost/vhost_user/vhost-net-user.c