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

2019-01-14 Thread David Marchand
On Mon, Jan 14, 2019 at 11:31 AM 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..4dc22ec36 100644 > --- a/test/test/test_eal_flags.c > +++ b/test/test/test_eal_flags.c > @@ -18,6 +18,7 @@ > #include

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

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