[dpdk-dev] [EXT] [PATCH v3] app/crypto-perf: fix dereference of null return

Akhil Goyal gakhil at marvell.com
Wed May 12 18:13:58 CEST 2021


> Return value of a function 'rte_zmalloc' is dereferenced without
> checking, and it may call segmentation fault.
> 
> This patch fixed it.
> 
> Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test
> application")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
> ---
> v3:
> * fix compiling warning.
Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list