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

2019-01-11 Thread David Marchand
On Fri, Jan 11, 2019 at 3:15 PM Hari Kumar Vemula < hari.kumarx.vem...@intel.com> wrote: > > diff --git a/test/test/test_eal_flags.c b/test/test/test_eal_flags.c > index 2acab9d69..fc45bf953 100644 > --- a/test/test/test_eal_flags.c > +++ b/test/test/test_eal_flags.c > @@ -18,6 +18,7 @@ > #includ

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

2019-01-11 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.