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-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-22 14:15:19 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-11-03 22:45:24 +01:00
2020-10-22 22:07:15 +02:00
2020-11-03 16:21:15 +01:00
2020-11-03 15:28:26 +01:00
2020-10-28 21:29:13 +01:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:15:34 +02:00
2020-10-19 22:13:59 +02:00
2020-11-03 22:45:02 +01:00
2020-10-29 16:45:17 +01:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-31 16:13:11 +01:00
2020-10-19 22:13:59 +02:00
2020-11-03 16:21:15 +01:00
2020-10-24 19:08:06 +02:00
2020-11-03 16:21:15 +01:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-11-03 22:45:24 +01:00
2020-10-19 22:13:59 +02:00
2020-10-31 16:13:10 +01:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-11-02 21:38:27 +01:00
2020-10-19 22:15:44 +02:00
2020-10-20 13:17:08 +02:00
2020-10-19 22:13:59 +02:00
2020-10-23 19:25:21 +02:00
2020-11-03 02:03:25 +01:00
2020-10-31 22:14:30 +01:00
2020-10-19 22:13:59 +02:00
2020-10-29 14:13:31 +01:00
2020-10-19 22:13:59 +02:00
2020-10-31 16:13:11 +01:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-10-19 22:13:59 +02:00
2020-11-03 23:24:26 +01:00
2020-10-24 08:54:03 +02:00