From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C004BA0613 for ; Wed, 31 Jul 2019 00:10:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 469872BF1; Wed, 31 Jul 2019 00:10:07 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 020BC1BFF9; Wed, 31 Jul 2019 00:10:03 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7AEC02216E; Tue, 30 Jul 2019 18:10:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 30 Jul 2019 18:10:03 -0400 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=PJT+aM3i0nG9lFnVOY4dYoOwdEDGEUijWcNviudGkuQ=; b=X2iuVdvYcDYh 37/hROY7LVXHVE28Cj7VXMZs0IZtqn1uzQN1RuIvTrZwc8eJ7mn1omx84ZMuEApe WxMAcDCYFA1TJH08xcZwmU2MFB4wuUyzTnpNGlObFrDUcZYqx52SNs4oWIVk7g8f QyvnE7/FtbIb69hfjyvC4EBXBIvu7lg= 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=fm3; bh=PJT+aM3i0nG9lFnVOY4dYoOwdEDGEUijWcNviudGk uQ=; b=CZK/CcNc1u5hilVTWAr+1FOowBXoiqr8MjwtIZ3Uhp65i567ZfV9ttKsW dF4uKkYc5hF2KF4JaM2Ayb2ZnxD3xLav+qDMlkWoARRib4klMNthXaDQ/nWrfShP +MG3YFY1R6+zXFOcWyi/Ynn4LaG9sVxZalgaeFpg36HGe9GKTYKUo02GHc1Mzy6L n4I83R64EcOdCSGGhNIUDZkHgEv0tYYoEFSsHIhMVTxAsj3QN4QUY6/ha3HXEiRD VZTeJuoaG/RKD7XwQiomsu1+5AqSvCenP0MLXLBj86zM1AJcgLI+ZU1rTxotl1Yb x6LI39Z2lcqnSgo6a9DPORyidGMmA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleeggddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 6DB3B80061; Tue, 30 Jul 2019 18:10:01 -0400 (EDT) From: Thomas Monjalon To: Andrius Sirvys Cc: stable@dpdk.org, dev@dpdk.org, kevin.laatz@intel.com, ciara.power@intel.com Date: Wed, 31 Jul 2019 00:10:00 +0200 Message-ID: <2451801.hgv5LbryIF@xps> In-Reply-To: <1554731681-98256-1-git-send-email-andrius.sirvys@intel.com> References: <11554730848-97709-1-git-send-email-andrius.sirvys@intel.com> <1554731681-98256-1-git-send-email-andrius.sirvys@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH v3] usertools: replace unsafe input function 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 08/04/2019 15:54, Andrius Sirvys: > LGTM static code analysis tool reports that the function 'input' is > unsafe. Changed to use raw_input which then converts it using > ast.literal_eval() which is safe. > > Fixes: d1b94da4a4e0 ("usertools: add client script for telemetry") > Cc: ciara.power@intel.com > > Signed-off-by: Andrius Sirvys > Acked-by: Kevin Laatz This patch was forgotten. Applied, thanks