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

2022-01-18 Thread Ferruh Yigit
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: sta...@dpdk.org Cc: wei.zh...@intel.com Signed-off

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

2022-01-18 Thread Sean Morrissey
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: sta...@dpdk.org Cc: wei.zh...@intel.com Signed-off-by: Sean Morrissey Reviewed-by: Ferruh Yigit