numam-dpdk/lib/librte_vhost
Marcin Kerlin b497724652 vhost: fix null pointer dereference
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@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-06-22 09:47:12 +02:00
..
2015-09-24 14:57:36 +02:00
2016-06-22 09:47:12 +02:00
2016-06-22 09:47:12 +02:00
2016-06-22 09:47:12 +02:00
2016-06-22 09:47:12 +02:00