Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graph: fix null dereference in stats
[ upstream commit 2d2bf7d ] In function 'stats_mem_init', pointer 'stats' should be confirmed not null before memset it. Fixes: af1ae8b ("graph: implement stats") Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
- Loading branch information