Re: [dpdk-dev] [PATCH 6/7] vhost: validate index in async API

2020-10-21 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 20, 2020 1:34 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH 6/7] vhost: validate index in async API > > This patch validates the queue index parameter

[dpdk-dev] [PATCH 6/7] vhost: validate index in async API

2020-10-19 Thread Maxime Coquelin
This patch validates the queue index parameter, in order to ensure no out-of-bound accesses happen. Fixes: 9eed6bfd2efb ("vhost: allow to enable or disable features") Cc: sta...@dpdk.org Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 6 ++ 1 file changed, 6 insertions(+) dif