Maxime Coquelin 8c042f8191 vhost: validate index in available entries API
This patch validates the queue index parameter, in order
to ensure neither out-of-bound accesses nor NULL pointer
dereferencing happen.

Fixes: a67f286a6596 ("vhost: export queue free entries")
Cc: stable@dpdk.org

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
2020-11-03 23:24:26 +01:00
..
2020-10-28 21:29:13 +01:00
2020-10-29 16:45:17 +01:00
2020-10-31 16:13:11 +01:00
2020-10-24 19:08:06 +02:00
2020-10-29 14:13:31 +01:00
2020-10-24 08:54:03 +02:00