[PATCH v2] app/testpmd: fix dereference before null check

Ferruh Yigit ferruh.yigit at intel.com
Tue Jan 18 14:28:19 CET 2022


On 1/18/2022 10:53 AM, Sean Morrissey wrote:
> Assign 'left' variable only after null check on 'size'
> as function returns if 'size' is null.
> 
> Coverity issue: 374381
> Fixes: 169a9fed1f4 ("app/testpmd: fix hex string parser support for flow API")
> Cc: stable at dpdk.org
> Cc: wei.zhao1 at intel.com
> 
> Signed-off-by: Sean Morrissey <sean.morrissey at intel.com>
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list