From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: Re: [PATCH v2] eal: fix core number validation Date: Thu, 3 Jan 2019 14:03:02 +0100 Message-ID: References: <1546518487-9942-1-git-send-email-hari.kumarx.vemula@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: dev@dpdk.org, stable@dpdk.org, reshma.pattan@intel.com, "Yigit, Ferruh" , jananeex.m.parthasarathy@intel.com To: Hari kumar Vemula Return-path: Received: from mail-ua1-f53.google.com (mail-ua1-f53.google.com [209.85.222.53]) by dpdk.org (Postfix) with ESMTP id AAA2F1B11A for ; Thu, 3 Jan 2019 14:03:14 +0100 (CET) Received: by mail-ua1-f53.google.com with SMTP id z11so10888171uaa.10 for ; Thu, 03 Jan 2019 05:03:14 -0800 (PST) In-Reply-To: <1546518487-9942-1-git-send-email-hari.kumarx.vemula@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jan 3, 2019 at 1:28 PM Hari kumar Vemula < hari.kumarx.vemula@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") > Cc: stable@dpdk.org > > -- > v2: Replace strtoul with strtol > Modified log message > You did not take my other comments into account and the ut updates are missing. -- David Marchand