From: Kalesh AP
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 lo
On 5/8/2020 5:50 AM, Kalesh A P wrote:
> From: Kalesh AP
>
> 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.
>
> Fixe
2 matches
Mail list logo