From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id BC8DD10A3; Thu, 17 Jan 2019 17:29:50 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 69A3612E1; Thu, 17 Jan 2019 11:29:49 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 17 Jan 2019 11:29:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=3pWw+gdxN/GCbu0pcQ6+CFrIC1Aat4Qk4BUM9RJoHJQ=; b=HnsMy+9kGrbM U8jala083Pta8CsHOwk16e6/F49lW2TpPkE6zM+NJ1QrdB0kiY5owSsgVXjc6/oH iWIvXbVQHQbvsT2MIaBYBqgWwHTnw1S7krgpUCM16Kjyj/SYop2TeefjcadYvg7m 6cOwC6WnSu4u99PfxhdIYHsKWY9dUYc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=3pWw+gdxN/GCbu0pcQ6+CFrIC1Aat4Qk4BUM9RJoH JQ=; b=vSNvLa19F5fegQA+jRuevhCnWGAashie60yG3OT2p0sTmfAPnPInrxaZD UZyyPEFiO9LrUezLuI9dgpQPYp0AQTCZkHKctNyDBj3Kbkry2oNjdxz+tuOqUe1w tiIdG9fcFGWSK9TpyK0XdCYZGOWq8/iaQCY7zlaHGzyoerCXqG9boFbpnjcekLgw 2s+SYFbMGGymJfwYmJlSX9CZOwSCQWQ3I3QjV3pebeHxE+whHcR/EqokELXKnc8M 0joQumyjvS3vI+c7/BsSQxs32voSgCjE0qTLgIC9WlMNPU0Gvtd9KF4oNsUgI2lg Y/eYaA5TXP8jvvsJ55kroGhBnJJPQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgeekgdekfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfh gggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceo thhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfe drudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4F63A102DE; Thu, 17 Jan 2019 11:29:47 -0500 (EST) From: Thomas Monjalon To: Hari Kumar Vemula Cc: stable@dpdk.org, david.marchand@redhat.com, reshma.pattan@intel.com, ferruh.yigit@intel.com, jananeex.m.parthasarathy@intel.com Date: Thu, 17 Jan 2019 17:29:46 +0100 Message-ID: <1707733.VNDCYEaWMo@xps> In-Reply-To: <1547727192-25126-1-git-send-email-hari.kumarx.vemula@intel.com> References: <1547216106-13680-1-git-send-email-hari.kumarx.vemula@intel.com> <1547727192-25126-1-git-send-email-hari.kumarx.vemula@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH v6] 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, 17 Jan 2019 16:29:51 -0000 17/01/2019 13:13, 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: stable@dpdk.org > > Signed-off-by: Hari Kumar Vemula > Reviewed-by: David Marchand Applied, thanks