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-02-13 14:43:56 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-02-06 09:20:07 +01:00
2020-03-31 13:08:55 +02:00
2020-03-18 01:19:16 +01:00
2019-11-20 23:05:39 +01:00
2020-04-05 18:26:04 +02:00
2020-02-05 21:27:29 +01:00
2020-03-31 13:08:55 +02:00
2019-11-20 23:05:39 +01:00
2020-03-18 10:21:42 +01:00
2020-01-19 19:32:50 +01:00
2020-04-10 05:00:47 -04:00
2020-03-27 11:20:08 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-02-05 19:42:24 +01:00
2020-02-05 14:37:41 +01:00
2020-02-20 11:16:46 +01:00
2019-11-20 23:05:39 +01:00
2020-02-14 11:59:01 +01:00
2020-03-31 13:08:55 +02:00
2020-01-20 01:32:50 +01:00
2020-03-31 21:45:43 +02:00
2020-03-31 02:57:42 +02:00
2019-11-20 23:05:39 +01:00
2020-02-14 17:39:46 +01:00
2020-01-20 16:37:27 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-03-17 14:53:48 +01:00
2020-02-05 19:42:24 +01:00
2019-11-20 23:05:39 +01:00
2020-02-05 14:37:41 +01:00
2019-11-26 00:29:24 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-03-19 16:18:09 +01:00
2019-11-20 23:05:39 +01:00
2020-02-05 15:29:49 +01:00
2019-11-20 23:05:39 +01:00
2020-03-18 00:59:17 +01:00
2020-03-13 13:57:04 +01:00
2020-02-05 21:27:29 +01:00
2020-02-14 12:42:13 +01:00
2019-11-08 23:15:05 +01:00
2020-03-18 01:20:39 +01:00