Re: [dpdk-dev] [PATCH] vfio: fix array bounds check

2017-06-08 Thread Burakov, Anatoly
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, June 5, 2017 8:01 PM > To: Alejandro Lucero > Cc: dev@dpdk.org; Burakov, Anatoly > Subject: Re: [dpdk-dev] [PATCH] vfio: fix array bounds check > > 12/05/2017 13:04, Bura

Re: [dpdk-dev] [PATCH] vfio: fix array bounds check

2017-06-05 Thread Thomas Monjalon
12/05/2017 13:04, Burakov, Anatoly: > > From: Alejandro Lucero [mailto:alejandro.luc...@netronome.com] > > > > Checking against VFIO_MAX_GROUPS goes beyond the maximum array > > index which should be (VFIO_MAX_GROUPS - 1). > > > > Fixes: 94c0776b1bad("support hotplug") > > Coverity issue: 144555

Re: [dpdk-dev] [PATCH] vfio: fix array bounds check

2017-05-12 Thread Burakov, Anatoly
> From: Alejandro Lucero [mailto:alejandro.luc...@netronome.com] > Sent: Friday, May 12, 2017 11:18 AM > To: dev@dpdk.org > Cc: Burakov, Anatoly > Subject: [PATCH] vfio: fix array bounds check > > Checking against VFIO_MAX_GROUPS goes beyond the maximum array > index which should be (VFIO_MAX_GRO

[dpdk-dev] [PATCH] vfio: fix array bounds check

2017-05-12 Thread Alejandro Lucero
Checking against VFIO_MAX_GROUPS goes beyond the maximum array index which should be (VFIO_MAX_GROUPS - 1). Fixes: 94c0776b1bad("support hotplug") Coverity issue: 144555 Coverity issue: 144556 Coverity issue: 144557 Signed-off-by: Alejandro Lucero --- lib/librte_eal/linuxapp/eal/eal_vfio.c | 6