Adam Dybkowski 285b5d1b1f cryptodev: fix missing device id range checking
This patch adds range-checking of the device id passed from
the user app code. It prevents out-of-range array accesses
which in some situations resulted in an
application crash (segfault).

Fixes: 3dd4435cf473 ("cryptodev: fix checks related to device id")
Cc: stable@dpdk.org

Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2020-04-05 18:26:04 +02:00
..
2020-03-18 10:21:42 +01:00
2020-02-14 11:59:01 +01:00
2020-03-17 14:53:48 +01:00
2020-02-05 19:42:24 +01:00
2020-02-05 14:37:41 +01:00