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 0FC312B9E; Thu, 17 Jan 2019 17:31:35 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id B823A1241; Thu, 17 Jan 2019 11:31:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 17 Jan 2019 11:31:34 -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=CtU3g448ceW9 ai0XDt+uC1q0BhIf2nVyBuks6SConronGg5ruv/LahaFG8Eqnfyv/VH8W0bO9E1X q0uiAsHPebhtCEpg2EueRpuWHuKW94J4M/ewiWp2+iLnXz7DM+clAJ2pjgVvPh2u tmJJGbIetB2aUGJVWpNM5S/wyZR0zbE= 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=JXguPclpHfSBt5xh98mlNSmA2RtYMEBndkQxuV9/VZNhzG9ZowPzDp2yK schE8Fe0KD4QPg0Pqo3malYWchVJHvt91jFX/tk7/8KlRmhm2KdfNtazA3FUf07V ZAsQiNpKnt5LnM30J1q5TqEVKIUHQiX0L8xDA5wEyh3fOWrgaWpPT7OBMQnij1x9 +BaY0gWcbjWqdGqR2/hGmYj8828tTOjjNyGVsM53ItoeM5aDyq+YuyCrRvRudNkO 9NpJ3U9GjcI5+h7J9HwtMqIzjdHmgr7qxLwR3PyLxYVZXFnch9GgZ3H/+7owU0jk IkGT2R46fl97vm99YiHsK5DASoIXA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgeekgdekgecutefuodetggdotefrodftvf 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 49A60E4046; Thu, 17 Jan 2019 11:31:31 -0500 (EST) From: Thomas Monjalon To: Hari Kumar Vemula Cc: stable@dpdk.org, dev@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:31:30 +0100 Message-ID: <34403066.vukIo49VY4@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:31:35 -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