Re: [dpdk-dev] [PATCH v2] net/ring: fix unchecked return value

2020-10-12 Thread Bruce Richardson
On Mon, Oct 12, 2020 at 02:04:26PM +0100, Ferruh Yigit wrote: > On 10/12/2020 1:45 PM, Bruce Richardson wrote: > > On Mon, Oct 12, 2020 at 12:57:11PM +0100, Ferruh Yigit wrote: > > > On 10/1/2020 6:09 PM, Kevin Laatz wrote: > > > > Add a check for the return value of the sscanf call in > > > > pars

Re: [dpdk-dev] [PATCH v2] net/ring: fix unchecked return value

2020-10-12 Thread Ferruh Yigit
On 10/12/2020 1:45 PM, Bruce Richardson wrote: On Mon, Oct 12, 2020 at 12:57:11PM +0100, Ferruh Yigit wrote: On 10/1/2020 6:09 PM, Kevin Laatz wrote: Add a check for the return value of the sscanf call in parse_internal_args(), returning an error if we don't get the expected result. Coverity i

Re: [dpdk-dev] [PATCH v2] net/ring: fix unchecked return value

2020-10-12 Thread Bruce Richardson
On Mon, Oct 12, 2020 at 12:57:11PM +0100, Ferruh Yigit wrote: > On 10/1/2020 6:09 PM, Kevin Laatz wrote: > > Add a check for the return value of the sscanf call in > > parse_internal_args(), returning an error if we don't get the expected > > result. > > > > Coverity issue: 362049 > > Fixes: 96cb1

Re: [dpdk-dev] [PATCH v2] net/ring: fix unchecked return value

2020-10-12 Thread Ferruh Yigit
On 10/1/2020 6:09 PM, Kevin Laatz wrote: Add a check for the return value of the sscanf call in parse_internal_args(), returning an error if we don't get the expected result. Coverity issue: 362049 Fixes: 96cb19521147 ("net/ring: use EAL APIs in PMD specific API") Cc: sta...@dpdk.org Signed-off

[dpdk-dev] [PATCH v2] net/ring: fix unchecked return value

2020-10-01 Thread Kevin Laatz
Add a check for the return value of the sscanf call in parse_internal_args(), returning an error if we don't get the expected result. Coverity issue: 362049 Fixes: 96cb19521147 ("net/ring: use EAL APIs in PMD specific API") Cc: sta...@dpdk.org Signed-off-by: Kevin Laatz --- v2: added consumed c