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")
>
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
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.
>
>
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
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")
>
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
6 matches
Mail list logo