numam-dpdk/app
Bruce Richardson 64c469b9e7 app/crypto-perf: check range of socket id
The socket_id is used as an array index so should be within the range
of zero to max numa nodes. Add a range check to ensure we don't get
excessive values.

Coverity issue: 336812
Coverity issue: 336829
Fixes: 2c59bd32b7 ("cryptodev: do not create session mempool internally")
CC: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-04-18 16:01:28 +02:00
..
pdump replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
proc-info meter: replace color definitions 2019-04-11 14:27:32 +02:00
test test/ipsec: fix initialisation 2019-04-18 16:01:28 +02:00
test-acl replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
test-bbdev replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
test-cmdline app/cmdline: move from test directory 2019-02-26 15:24:11 +01:00
test-compress-perf app/compress-perf: add incompressible data handling 2019-04-02 16:50:24 +02:00
test-crypto-perf app/crypto-perf: check range of socket id 2019-04-18 16:01:28 +02:00
test-eventdev replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
test-pipeline app/pipeline: fix dependency for FreeBSD 2019-03-27 01:02:45 +01:00
test-pmd app/testpmd: fix return value check 2019-04-12 11:02:02 +02:00
Makefile test: move to app directory 2019-02-26 15:29:27 +01:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00