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

2022-01-18 Thread Ferruh Yigit
On 12/9/2021 4:27 PM, 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 v1] app/testpmd: fix dereference before null check

2021-12-09 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 --- app/test-pmd/cmdline_