Re: [dpdk-dev] [PATCH v6] eal: fix core number validation

2019-01-17 Thread David Marchand
On Thu, Jan 17, 2019 at 1:19 PM Bruce Richardson wrote: > On Thu, Jan 17, 2019 at 12:13:12PM +, Hari Kumar Vemula wrote: > > When incorrect core value or range provided, > > as part of -l command line option, a crash occurs. > > > > Added valid range checks to fix the crash. > > > > Added ut

Re: [dpdk-dev] [PATCH v6] eal: fix core number validation

2019-01-17 Thread Bruce Richardson
On Thu, Jan 17, 2019 at 12:13:12PM +, Hari Kumar Vemula wrote: > When incorrect core value or range provided, > as part of -l command line option, a crash occurs. > > Added valid range checks to fix the crash. > > Added ut check for negative core values. > Added unit test case for invalid cor

[dpdk-dev] [PATCH v6] eal: fix core number validation

2019-01-17 Thread Hari Kumar Vemula
When incorrect core value or range provided, as part of -l command line option, a crash occurs. Added valid range checks to fix the crash. Added ut check for negative core values. Added unit test case for invalid core number range. Fixes: d888cb8b9613 ("eal: add core list input format") Cc: sta.