From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) by dpdk.org (Postfix) with ESMTP id ADD441B216 for ; Thu, 3 Jan 2019 14:03:14 +0100 (CET) Received: by mail-ua1-f50.google.com with SMTP id d2so10900864ual.2 for ; Thu, 03 Jan 2019 05:03:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2LFrv/450Ec+bINuhcmdXvqqHlTgv3hby8HBfYV85SQ=; b=m/0w7CAWbbiibnJNwuQ7H/gpFWWnjZht46r2G698rFYCIbD1fdV/ikLo3CR//CMZl8 fPLUEkFvKTGkDd8+lzr51GhA9CvYguIwlyFQxs+eZKFh8/kYqgehPmW2Ee7eee/UYmjL NwMFBfZVjNvvnQKxoRTi9i2es9NAZjK0JaTOKUR6ZqBlIIIcc8pLr6vaoMYtNmjrrFau rPtIozsREkQIUjlVYvnjrm7iMhY0fj2rgOXWkFZ6gKIuuT7qowg5iWoNjScs5KNu8QVq dRSGYyZKwkVXHKq5jmjOl+Km1RANstcVU4Wglr40SgeRERT/X2bMgfPlwERRMZ53QUvx 1HnQ== X-Gm-Message-State: AJcUukc+OpxdN1/CZsIPOK61AJT8xcOlkwOwZItDtZemJ1Mg86EQHd5C 8vtOr4c5CZiqw4AYsw+jeObZDXyHL4n2Oj+wDK87Vg== X-Google-Smtp-Source: ALg8bN4G5cWe86CzQi5gs/fBrJ5+i8oTzDsgLWBzerHz0XVIWwTwRfSYK46h100x956PCEoi86Qm87cdbegg7EIdloU= X-Received: by 2002:ab0:4121:: with SMTP id j30mr16882449uad.65.1546520593784; Thu, 03 Jan 2019 05:03:13 -0800 (PST) MIME-Version: 1.0 References: <1546518487-9942-1-git-send-email-hari.kumarx.vemula@intel.com> In-Reply-To: <1546518487-9942-1-git-send-email-hari.kumarx.vemula@intel.com> From: David Marchand Date: Thu, 3 Jan 2019 14:03:02 +0100 Message-ID: To: Hari kumar Vemula Cc: dev@dpdk.org, stable@dpdk.org, reshma.pattan@intel.com, "Yigit, Ferruh" , jananeex.m.parthasarathy@intel.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-stable] [PATCH v2] eal: fix core number validation X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 13:03:15 -0000 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