Alejandro Lucero 4af00fb1a2 vfio: fix array bounds check
Checking against VFIO_MAX_GROUPS goes beyond the maximum array
index which should be (VFIO_MAX_GROUPS - 1).

Coverity issue: 144555, 144556, 144557
Fixes: 94c0776b1bad ("support hotplug")
Cc: stable@dpdk.org

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2017-06-05 21:02:56 +02:00
..
2017-05-05 14:38:35 +02:00
2017-06-05 21:02:56 +02:00
2017-05-05 14:38:17 +02:00
2017-04-21 02:15:29 +02:00
2017-04-21 01:29:21 +02:00
2017-04-05 23:03:23 +02:00