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

Fixes: 4d891f77ddfa ("vhost: add APIs to get inflight ring")
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