Re: [dpdk-dev] [PATCH 4/7] vhost: validate index in live-migration 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 4/7] vhost: validate index in live-migration API > > This patch validates the queue index

[dpdk-dev] [PATCH 4/7] vhost: validate index in live-migration 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: bd2e0c3fe5ac ("vhost: add APIs for live migration") Cc: sta...@dpdk.org Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 6 ++ 1 file changed, 6 insertions(+) diff --git