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

2019-01-02 Thread David Marchand
On Thu, Dec 20, 2018 at 11:01 AM 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") >

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

2019-01-02 Thread Vemula, Hari KumarX
Hi, From: David Marchand [mailto:david.march...@redhat.com] Sent: Friday, December 21, 2018 2:58 PM To: Burakov, Anatoly ; Vemula, Hari KumarX Cc: dev@dpdk.org; Pattan, Reshma ; Yigit, Ferruh ; sta...@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: fix core number validation On Fri, Dec 21

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

2018-12-21 Thread David Marchand
On Fri, Dec 21, 2018 at 10:19 AM Burakov, Anatoly wrote: > On 21-Dec-18 8:27 AM, David Marchand wrote: > > Since you have identified a potential crash, can you give an example of > > such a crash ? > > Besides, we have tests that check arguments, so an update of the test > would > > be nice. > >

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

2018-12-21 Thread Burakov, Anatoly
On 21-Dec-18 8:27 AM, David Marchand wrote: On Thu, Dec 20, 2018 at 11:01 AM 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

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

2018-12-21 Thread David Marchand
On Thu, Dec 20, 2018 at 11:01 AM 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") >

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

2018-12-20 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 Signed-off-by: Hari Kumar Vemula --- lib/librte_eal/common/eal_common_options.c