On 5/8/2020 5:50 AM, Kalesh A P wrote: > From: Kalesh AP <kalesh-anakkur.pura...@broadcom.com> > > 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: e088907bb851 ("app/testpmd: add command for getting loaded DDP > profiles") > Cc: sta...@dpdk.org > > Signed-off-by: Kalesh AP <kalesh-anakkur.pura...@broadcom.com> > Acked-by: Bernard Iremonger <bernard.iremon...@intel.com>
Applied to dpdk-next-net/master, thanks.