[dpdk-dev] [PATCH 05/10] app/test: add null pointer check of memory allocation

Thomas Monjalon thomas at monjalon.net
Sun Jun 26 19:48:20 CEST 2022


19/04/2021 15:34, Min Hu (Connor):
> From: HongBo Zheng <zhenghongbo3 at huawei.com>
> 
> The rte_zmalloc is called in test_crc_calc without null pointer
> check. This patch adds null pointer checks on return value of
> rte_zmalloc.
> 
> Fixes: 9c77b848b1c1 ("test: add CRC computation")
> Cc: stable at dpdk.org
> 
> Signed-off-by: HongBo Zheng <zhenghongbo3 at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>

Applied only this patch, thanks.





More information about the dev mailing list