numam-dpdk/lib/librte_vhost
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-09-30 23:16:55 +02:00
2020-11-03 23:24:26 +01:00
2020-10-16 19:48:19 +02:00