numam-dpdk/app
Kalesh AP 489bdbbfc2 app/testpmd: fix memory failure handling for i40e DDP
In cmd_ddp_get_list_parsed(), elements of "p_list" are accessed
even after the memory allocation for "p_list" fails.

With this patch, this null pointer dereference is avoided as we
return when there is malloc failure.

Fixes: e088907bb8 ("app/testpmd: add command for getting loaded DDP profiles")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2020-05-11 22:27:39 +02:00
..
pdump app: fix usage help of options separated by dashes 2020-04-25 21:56:18 +02:00
proc-info app/procinfo: use strlcpy for copying string 2019-10-27 11:33:24 +01:00
test test/crypto: remove unused variable 2020-05-11 13:17:43 +02:00
test-acl app: fix usage help of options separated by dashes 2020-04-25 21:56:18 +02:00
test-bbdev baseband/fpga_5gnr_fec: add configure function 2020-04-19 22:34:26 +02:00
test-cmdline replace unused attributes 2020-04-16 18:30:58 +02:00
test-compress-perf build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
test-crypto-perf app/crypto-perf: fix display of sample test vector 2020-05-11 13:17:43 +02:00
test-eventdev replace always-inline attributes 2020-04-16 18:16:46 +02:00
test-fib build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
test-pipeline replace unused attributes 2020-04-16 18:30:58 +02:00
test-pmd app/testpmd: fix memory failure handling for i40e DDP 2020-05-11 22:27:39 +02:00
test-sad build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
Makefile app/test-fib: add in default build 2020-04-10 11:38:02 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00