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

2019-01-06 Thread Hari Kumar Vemula
From: 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 li

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

2019-01-03 Thread David Marchand
On Thu, Jan 3, 2019 at 1:28 PM Hari kumar Vemula < hari.kumarx.vem...@intel.com> 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. > > Fixes: d888cb8b9613 ("eal: add core list input format") > C

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

2019-01-03 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. Fixes: d888cb8b9613 ("eal: add core list input format") Cc: sta...@dpdk.org -- v2: Replace strtoul with strtol Modified log message -- Signed-off-by: Ha