Re: [dpdk-dev] [PATCH 2/2] graph: fix dereferencing null pointer

2021-04-23 Thread Jerin Jacob
On Thu, Apr 22, 2021 at 5:22 PM Min Hu (Connor) wrote: > > From: HongBo Zheng > > In function 'stats_mem_init', pointer 'stats' should > be confirmed not null before memset it. > > Fixes: af1ae8b6a32c ("graph: implement stats") > Cc: sta...@dpdk.org > > Signed-off-by: HongBo Zheng > Signed-off-b

[dpdk-dev] [PATCH 2/2] graph: fix dereferencing null pointer

2021-04-22 Thread Min Hu (Connor)
From: HongBo Zheng In function 'stats_mem_init', pointer 'stats' should be confirmed not null before memset it. Fixes: af1ae8b6a32c ("graph: implement stats") Cc: sta...@dpdk.org Signed-off-by: HongBo Zheng Signed-off-by: Min Hu (Connor) --- lib/librte_graph/graph_stats.c | 2 +- 1 file chan