numam-dpdk/lib/librte_vhost
Yuanhan Liu 7bd841b269 vhost: fix use after free
A "return" is missing on error, which could lead to a "use after free"
issue (about var "conn").

Coverity issue: 143476
Fixes: 65388b43f5 ("vhost: fix fd leaks for vhost-user server mode")

Reported-by: John McNamara <john.mcnamara@intel.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2017-04-19 10:49:06 +02:00
..
fd_man.c vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
fd_man.h vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
Makefile vhost: rename header file 2017-04-01 10:42:44 +02:00
rte_vhost_version.map vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
rte_vhost.h vhost: workaround the build dependency on mbuf header 2017-04-01 10:42:44 +02:00
socket.c vhost: fix use after free 2017-04-19 10:49:06 +02:00
vhost_user.c vhost: do not destroy device on repeat mem table message 2017-04-01 10:42:44 +02:00
vhost_user.h vhost: rename header file 2017-04-01 10:42:44 +02:00
vhost.c vhost: rename header file 2017-04-01 10:42:44 +02:00
vhost.h vhost: rename header file 2017-04-01 10:42:44 +02:00
virtio_net.c lib: remove unnecessary void cast 2017-04-11 18:05:10 +02:00